group(function () { // Route::resource('/roles', RolesController::class); // Route::post('/roles/{role}/permissions', [RolesController::class, 'givePermission'])->name('roles.permissions'); // Route::delete('/roles/{role}/permissions/{permission}', [RolesController::class, 'revokePermission'])->name('roles.permissions.revoke'); });