10 lines
369 B
PHP
10 lines
369 B
PHP
<?php
|
|
|
|
use App\Http\Controllers\PermissionsController;
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
Route::prefix("permissions")->group(function () {
|
|
Route::resource('/permissions', PermissionsController::class);
|
|
Route::get('/generate-permissions', [PermissionsController::class, 'generatePermissionFromRoutes'])->name('permission.generatePermissionFromRoutes');
|
|
});
|