add ability to delete a service
This commit is contained in:
parent
a50bb5da14
commit
177bd4ec9d
4 changed files with 54 additions and 0 deletions
|
@ -366,6 +366,10 @@ class AdminRoutes {
|
|||
'uses' => 'Admin\ServiceController@postService'
|
||||
]);
|
||||
|
||||
$router->delete('/service/{id}', [
|
||||
'uses' => 'Admin\ServiceController@deleteService'
|
||||
]);
|
||||
|
||||
$router->get('/option/{id}', [
|
||||
'as' => 'admin.services.option',
|
||||
'uses' => 'Admin\ServiceController@getOption'
|
||||
|
|
Reference in a new issue