diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-10-01 14:51:54 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-10-01 14:58:48 +0200 |
commit | 40e219622a2c416ab36cb39b26a5e1354e4438cc (patch) | |
tree | 878fb4e50ecee04603f8a05dec04f9a4b8662d18 /src/Wallabag/CoreBundle/Resources/config | |
parent | 114c55c0a6eade2ba6c53fe25f61cc58cca91620 (diff) | |
download | wallabag-40e219622a2c416ab36cb39b26a5e1354e4438cc.tar.gz wallabag-40e219622a2c416ab36cb39b26a5e1354e4438cc.tar.zst wallabag-40e219622a2c416ab36cb39b26a5e1354e4438cc.zip |
Customize errors templates
All error goes to the same template which only display the error message and the status code.
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/config')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/config/services.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/config/services.yml b/src/Wallabag/CoreBundle/Resources/config/services.yml index 23e6d3ca..a769b07e 100644 --- a/src/Wallabag/CoreBundle/Resources/config/services.yml +++ b/src/Wallabag/CoreBundle/Resources/config/services.yml | |||
@@ -133,3 +133,9 @@ services: | |||
133 | host: '%redis_host%' | 133 | host: '%redis_host%' |
134 | port: '%redis_port%' | 134 | port: '%redis_port%' |
135 | schema: tcp | 135 | schema: tcp |
136 | |||
137 | wallabag_core.exception_controller: | ||
138 | class: Wallabag\CoreBundle\Controller\ExceptionController | ||
139 | arguments: | ||
140 | - '@twig' | ||
141 | - '%kernel.debug%' | ||