master_template/routes/route.permissions.php

10 lines
369 B
PHP
Raw Normal View History

2024-06-20 10:57:33 +00:00
<?php
use App\Http\Controllers\PermissionsController;
use Illuminate\Support\Facades\Route;
Route::prefix("permissions")->group(function () {
Route::resource('/permissions', PermissionsController::class);
2024-06-23 11:17:56 +00:00
Route::get('/generate-permissions', [PermissionsController::class, 'generatePermissionFromRoutes'])->name('permission.generatePermissionFromRoutes');
2024-06-20 10:57:33 +00:00
});