Properly handle route model bound LicenseSeat not being found
This commit is contained in:
parent
33c9ea4bb1
commit
fd854072b0
1 changed files with 3 additions and 1 deletions
|
@ -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
|
|||
//
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue