Skip to content

A free open source IT asset/license management system

Correct maintenance-types index route name in handler

Marcus Mooredd231bdc9ec4
diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php
index d36442076f..feb3be2c02 100644
--- a/app/Exceptions/Handler.php
+++ b/app/Exceptions/Handler.php
@@ -224,6 +224,8 @@ class Handler extends ExceptionHandler
$route = 'home';
} elseif ($route === 'customuserlabels.index') {
$route = 'settings.labels.index';
+ } elseif ($route === 'maintenancetypes.index') {
+ $route = 'maintenance-types.index';
}
// Normalize the space-separated derived name to underscore