24 lines
868 B
PHP
24 lines
868 B
PHP
|
<?php
|
||
|
|
||
|
use Illuminate\Support\Facades\Route;
|
||
|
use Modules\User\Http\Controllers\PermissionController;
|
||
|
use Modules\User\Http\Controllers\RoleController;
|
||
|
use Modules\User\Http\Controllers\UserController;
|
||
|
|
||
|
/*
|
||
|
|--------------------------------------------------------------------------
|
||
|
| Web Routes
|
||
|
|--------------------------------------------------------------------------
|
||
|
|
|
||
|
| Here is where you can register web routes for your application. These
|
||
|
| routes are loaded by the RouteServiceProvider within a group which
|
||
|
| contains the "web" middleware group. Now create something great!
|
||
|
|
|
||
|
*/
|
||
|
|
||
|
Route::group([], function () {
|
||
|
Route::resource('user', UserController::class)->names('user');
|
||
|
Route::resource('role', RoleController::class)->names('role');
|
||
|
Route::resource('permission', PermissionController::class)->names('permission')->only(['index','destroy']);
|
||
|
});
|