mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 13:44:06 -08:00
Removed old hardware delete route to force failure
This commit is contained in:
parent
f182a7db2a
commit
2bb94e6806
|
@ -42,11 +42,7 @@ Route::group(
|
||||||
]);
|
]);
|
||||||
|
|
||||||
Route::post('{assetId}/clone', 'AssetsController@postCreate');
|
Route::post('{assetId}/clone', 'AssetsController@postCreate');
|
||||||
Route::get('{assetId}/delete', [
|
|
||||||
'as' => 'delete/hardware',
|
|
||||||
'middleware' => 'authorize:assets.delete',
|
|
||||||
'uses' => 'AssetsController@getDelete'
|
|
||||||
]);
|
|
||||||
Route::get('{assetId}/checkout', [
|
Route::get('{assetId}/checkout', [
|
||||||
'as' => 'checkout/hardware',
|
'as' => 'checkout/hardware',
|
||||||
'middleware' => 'authorize:assets.checkout',
|
'middleware' => 'authorize:assets.checkout',
|
||||||
|
|
Loading…
Reference in a new issue