mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Fixed AssetsController namespace in route
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
905fb09c5b
commit
60851c2eb2
|
@ -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', '.*');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue