8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c2326b commit 436b7fbCopy full SHA for 436b7fb
cookbook/controller/error_pages.rst
@@ -16,9 +16,11 @@ control you need:
16
17
1. Customize the error templates of the different error pages (explained below);
18
19
-2. Replace the default exception controller ``TwigBundle:Exception:show``
+2. Replace the default exception controller ``twig.controller.exception:showAction``
20
with your own controller and handle it however you want (see
21
- :ref:`exception_controller in the Twig reference<config-twig-exception-controller>`);
+ :ref:`exception_controller in the Twig reference<config-twig-exception-controller>`).
22
+ The default exception controller is registered as a service - the actual
23
+ class is ``Symfony\Bundle\TwigBundle\Controller\ExceptionController``.
24
25
.. tip::
26
0 commit comments