master_template/routes/route.roles.php

11 lines
458 B
PHP
Raw Normal View History

2024-06-20 10:57:33 +00:00
<?php
use App\Http\Controllers\RolesController;
use Illuminate\Support\Facades\Route;
Route::prefix("roles")->group(function () {
2024-06-23 11:17:56 +00:00
// 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');
2024-06-20 10:57:33 +00:00
});