Properly handle route model bound LicenseSeat not being found
This commit is contained in:
@@ -141,6 +141,8 @@ class Handler extends ExceptionHandler
|
||||
$route = 'kits.index';
|
||||
} elseif ($route == 'assetmaintenances.index') {
|
||||
$route = 'maintenances.index';
|
||||
} elseif ($route === 'licenseseats.index') {
|
||||
$route = 'licenses.index';
|
||||
}
|
||||
|
||||
return redirect()
|
||||
@@ -203,4 +205,4 @@ class Handler extends ExceptionHandler
|
||||
//
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user