Add location delete support
This commit is contained in:
parent
861af87e93
commit
21a95a5d0e
3 changed files with 70 additions and 3 deletions
|
@ -216,6 +216,9 @@ class AdminRoutes {
|
|||
'as' => 'admin.locations',
|
||||
'uses' => 'Admin\LocationsController@getIndex'
|
||||
]);
|
||||
$router->delete('/{id}', [
|
||||
'uses' => 'Admin\LocationsController@deleteLocation'
|
||||
]);
|
||||
});
|
||||
|
||||
// API Routes
|
||||
|
|
Reference in a new issue