mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 13:44:06 -08:00
Added comment
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
a24d21e683
commit
6da0671143
|
@ -122,6 +122,7 @@ Route::group(
|
|||
[AssetCheckinController::class, 'store']
|
||||
)->name('hardware.checkin.store');
|
||||
|
||||
// Redirect old legacy /asset_id/view urls to the resource route version
|
||||
Route::get('{assetId}/view', function ($assetId) {
|
||||
return redirect()->route('hardware.show', ['hardware' => $assetId]);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue