mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-10 10:23:46 +02:00
Finalize API routes
This commit is contained in:
@@ -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');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user