Split NotFoundHandler into two different middlewares

This commit is contained in:
Alejandro Celaya
2019-11-23 10:25:12 +01:00
parent 89e373f775
commit 1bafe54a75
6 changed files with 125 additions and 86 deletions

View File

@@ -67,7 +67,8 @@ return [
],
'not-found' => [
'middleware' => [
Core\ErrorHandler\NotFoundHandler::class,
Core\ErrorHandler\NotFoundRedirectHandler::class,
Core\ErrorHandler\NotFoundTemplateHandler::class,
],
],
],