add support for deleting service option
This commit is contained in:
parent
1e9bf1c220
commit
dcfdb89e3c
4 changed files with 56 additions and 0 deletions
|
@ -388,6 +388,10 @@ class AdminRoutes {
|
|||
'uses' => 'Admin\ServiceController@postOption'
|
||||
]);
|
||||
|
||||
$router->delete('/option/{id}', [
|
||||
'uses' => 'Admin\ServiceController@deleteOption'
|
||||
]);
|
||||
|
||||
$router->post('/option/{option}/{variable}', [
|
||||
'as' => 'admin.services.option.variable',
|
||||
'uses' => 'Admin\ServiceController@postOptionVariable'
|
||||
|
|
Reference in a new issue