A free open source IT asset/license management system
Added comment
snipe6da0671143f3
diff --git a/routes/web/hardware.php b/routes/web/hardware.phpindex 934712d7e4..d29b2cd836 100644--- a/routes/web/hardware.php+++ b/routes/web/hardware.php@@ -122,6 +122,7 @@ Route::group([AssetCheckinController::class, 'store'])->name('hardware.checkin.store');+ // Redirect old legacy /asset_id/view urls to the resource route versionRoute::get('{assetId}/view', function ($assetId) {return redirect()->route('hardware.show', ['hardware' => $assetId]);});