diff --git a/routes/web/hardware.php b/routes/web/hardware.php index d29b2cd836..dc0ba43fa0 100644 --- a/routes/web/hardware.php +++ b/routes/web/hardware.php @@ -186,11 +186,8 @@ Route::resource('hardware', AssetsController::class, [ 'middleware' => ['auth'], - 'parameters' => ['asset' => 'asset_id', - 'names' => [ - 'show' => 'view', - ], - ], + 'parameters' => ['asset' => 'asset_id'], + 'names' => ['show' => 'view'], ]); Route::get('ht/{any?}',