Finalize API routes
This commit is contained in:
parent
f0c3f6f9b6
commit
69dfd380ad
4 changed files with 93 additions and 6 deletions
|
@ -97,3 +97,16 @@ Route::group(['prefix' => '/users'], function () {
|
|||
|
||||
Route::delete('/{id}', 'UserController@delete');
|
||||
});
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Service Controller Routes
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Endpoint: /api/admin/services
|
||||
|
|
||||
*/
|
||||
Route::group(['prefix' => '/services'], function () {
|
||||
Route::get('/', 'ServiceController@index');
|
||||
Route::get('/{id}', 'ServiceController@view');
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue