mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
More changes to the error message formatting
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
fa20eb4965
commit
217d65f64c
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue