Skip to content

Commit 42668b1

Browse files
authored
Update error_pages.rst
This appears to be a typo, as showException gives an error on Symfony 4.2 that reports confusion between showAction and showException. Setting the twig config to showAction fixes the problem and displays the correct result.
1 parent a805839 commit 42668b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controller/error_pages.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ configuration option to point to it:
213213
214214
# config/packages/twig.yaml
215215
twig:
216-
exception_controller: App\Controller\ExceptionController::showException
216+
exception_controller: App\Controller\ExceptionController::showAction
217217
218218
.. code-block:: xml
219219

0 commit comments

Comments
 (0)