Customize errors templates

All error goes to the same template which only display the error message and the status code.
This commit is contained in:
Jeremy Benoist
2016-10-01 14:51:54 +02:00
parent 114c55c0a6
commit 40e219622a
7 changed files with 107 additions and 9 deletions

View File

@ -133,3 +133,9 @@ services:
host: '%redis_host%'
port: '%redis_port%'
schema: tcp
wallabag_core.exception_controller:
class: Wallabag\CoreBundle\Controller\ExceptionController
arguments:
- '@twig'
- '%kernel.debug%'