Fixed AssetsController namespace in route

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2020-04-22 03:15:54 -07:00
parent 905fb09c5b
commit 60851c2eb2
No known key found for this signature in database
GPG key ID: 10BFFDA3ED34B5AC

View file

@ -83,14 +83,14 @@ Route::group(
Route::get('bytag/{any?}', Route::get('bytag/{any?}',
[ [
'as' => 'findbytag/hardware', 'as' => 'findbytag/hardware',
'uses' => 'AssetsController@getAssetByTag' 'uses' => 'Assets\AssetsController@getAssetByTag'
] ]
)->where('any', '.*'); )->where('any', '.*');
Route::get('byserial/{any?}', Route::get('byserial/{any?}',
[ [
'as' => 'findbyserial/hardware', 'as' => 'findbyserial/hardware',
'uses' => 'AssetsController@getAssetBySerial' 'uses' => 'Assets\AssetsController@getAssetBySerial'
] ]
)->where('any', '.*'); )->where('any', '.*');