Removed old hardware delete route to force failure

This commit is contained in:
snipe 2016-12-15 16:42:28 -08:00
parent f182a7db2a
commit 2bb94e6806

View file

@ -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',