Added comment

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-11-08 14:44:09 +00:00
parent a24d21e683
commit 6da0671143

View file

@ -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]);
});