mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-22 00:03:46 +02:00
Fix problems after rebase, move RoleController to Api\Application
This commit is contained in:
@@ -120,3 +120,20 @@ Route::group(['prefix' => '/nests'], function () {
|
||||
Route::get('/{egg}', 'Nests\EggController@view')->name('api.application.nests.eggs.view');
|
||||
});
|
||||
});
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Role Controller Routes
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Endpoint: /api/application/roles
|
||||
|
|
||||
*/
|
||||
|
||||
Route::group(['prefix' => '/roles'], function () {
|
||||
Route::get('/', 'RoleController@index')->name('api.application.roles');
|
||||
|
||||
Route::post('/', 'RoleController@create');
|
||||
|
||||
Route::delete('/{role}', 'RoleController@delete');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user