Skip to content

Commit 16b97c1

Browse files
committed
Shim route for asset maintenances redirect on RMB not found
Signed-off-by: snipe <[email protected]>
1 parent fa72696 commit 16b97c1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/Exceptions/Handler.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ public function render($request, Throwable $e)
137137
$route = 'models.index';
138138
} elseif ($route == 'predefinedkits.index') {
139139
$route = 'kits.index';
140+
} elseif ($route == 'assetmaintenances.index') {
141+
$route = 'maintenances.index';
140142
}
141143

142144
return redirect()

0 commit comments

Comments
 (0)