Skip to content

Commit 436b7fb

Browse files
committed
[symfony#2612] Updating exception controller for 2.2 change
1 parent 7c2326b commit 436b7fb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

cookbook/controller/error_pages.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@ control you need:
1616

1717
1. Customize the error templates of the different error pages (explained below);
1818

19-
2. Replace the default exception controller ``TwigBundle:Exception:show``
19+
2. Replace the default exception controller ``twig.controller.exception:showAction``
2020
with your own controller and handle it however you want (see
21-
:ref:`exception_controller in the Twig reference<config-twig-exception-controller>`);
21+
: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``.
2224

2325
.. tip::
2426

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy