names('user'); Route::resource('role', RoleController::class)->names('role'); Route::resource('permission', PermissionController::class)->names('permission')->only(['index','destroy']); });