This commit is contained in:
Simon Sessingø
2016-11-16 15:15:51 +01:00
parent 8478899eb6
commit 75566dc2ba
4 changed files with 37 additions and 30 deletions

View File

@@ -138,6 +138,8 @@ class CustomExceptionHandler implements IExceptionHandler {
// Throw your custom 404-page view
// - or -
// load another route with our 404 page
// - or -
// you can return the $request object to ignore the error and continue on rendering the route.
return $request->setUri(url('page.notfound'));
}