Finalize API routes

This commit is contained in:
Dane Everitt 2017-04-09 15:53:53 -04:00
parent f0c3f6f9b6
commit 69dfd380ad
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
4 changed files with 93 additions and 6 deletions

View file

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