Fix problems after rebase, move RoleController to Api\Application

This commit is contained in:
Matthew Penner 2020-12-27 21:57:31 -07:00
parent 333c9312d4
commit 7369167e28
8 changed files with 109 additions and 90 deletions

View file

@ -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');
});