Skip to content

A free open source IT asset/license management system

Exception handler exceptions - exception inception!

sniped4b24e5e57d7
diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php
index bcba923208..00084d8e19 100644
--- a/app/Exceptions/Handler.php
+++ b/app/Exceptions/Handler.php
@@ -133,6 +133,8 @@ class Handler extends ExceptionHandler
$route = 'hardware.index';
} elseif ($route == 'reporttemplates.index') {
$route = 'reports/custom';
+ } elseif ($route == 'predefinedkits.index') {
+ $route = 'kits.index';
}
return redirect()