CSV history routes

This commit is contained in:
snipe 2016-08-12 16:02:09 -07:00
parent c73cbccffc
commit ba5a2edd54

View file

@ -187,6 +187,19 @@ Route::group(
'auth']],
function () {
Route::get('history', [
'as' => 'asset.import-history',
'middleware' => 'authorize:assets.checkout',
'uses' => 'AssetsController@getImportHistory'
]);
Route::post('history', [
'as' => 'asset.process-import-history',
'middleware' => 'authorize:assets.checkout',
'uses' => 'AssetsController@postImportHistory'
]);
Route::get('create/{model?}', [
'as' => 'create/hardware',
'middleware' => 'authorize:assets.create',