Skip to content

A free open source IT asset/license management system

More changes to the error message formatting

snipe217d65f64cae
diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php
index c4aa16aca3..2c6d00548e 100644
--- a/app/Exceptions/Handler.php
+++ b/app/Exceptions/Handler.php
@@ -129,7 +129,7 @@ class Handler extends ExceptionHandler
$route_base = str_plural(strtolower(last(explode('\\', $e->getModel()))));
// Sigh. Fucking laravel.
- if ($route_base =='assets') {
+ if ($route_base == 'assets') {
$route_base = 'hardware';
}
return redirect()