Add location delete support

This commit is contained in:
Dane Everitt 2016-01-16 22:29:35 -05:00
parent 861af87e93
commit 21a95a5d0e
3 changed files with 70 additions and 3 deletions

View file

@ -216,6 +216,9 @@ class AdminRoutes {
'as' => 'admin.locations',
'uses' => 'Admin\LocationsController@getIndex'
]);
$router->delete('/{id}', [
'uses' => 'Admin\LocationsController@deleteLocation'
]);
});
// API Routes