api code global jain
This commit is contained in:
20
routes/admin/with_auth/roles.php
Normal file
20
routes/admin/with_auth/roles.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
/**
|
||||
* User Related Routes.
|
||||
*/
|
||||
|
||||
use App\Http\Controllers\Backend\RoleController;
|
||||
|
||||
// User Routes
|
||||
Route::group(
|
||||
['middleware' => [
|
||||
//
|
||||
]], function () {
|
||||
|
||||
Route::group(['as' => 'roles.', 'prefix' => 'roles'], function () {
|
||||
Route::get('get-listing', [RoleController::class, 'getRoleListing'])->name('get-listing');
|
||||
Route::post('grid-records-action', [RoleController::class, 'gridRecordsAction'])->name('grid.records.action');
|
||||
});
|
||||
|
||||
Route::resource('roles', RoleController::class)->except(['show']);
|
||||
});
|
||||
Reference in New Issue
Block a user