A free open source IT asset/license management system
Update redirect route upon custom user label 404
Marcus Moore068c85f3ff6d
diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.phpindex 483fd8bc8f..d36442076f 100644--- a/app/Exceptions/Handler.php+++ b/app/Exceptions/Handler.php@@ -222,6 +222,8 @@ class Handler extends ExceptionHandler$route = 'fields.index';} elseif ($route == 'actionlogs.index') {$route = 'home';+ } elseif ($route === 'customuserlabels.index') {+ $route = 'settings.labels.index';}// Normalize the space-separated derived name to underscore