Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit436b7fb

Browse files
committed
[symfony#2612] Updating exception controller for 2.2 change
1 parent7c2326b commit436b7fb

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)

[8]ページ先頭

©2009-2025 Movatter.jp