From 6071e6ce252f0d87aee5097024f54bfe90050468 Mon Sep 17 00:00:00 2001 From: Brandin Chiu Date: Thu, 14 Mar 2019 15:46:13 -0400 Subject: [PATCH] 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. --- controller/error_pages.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/controller/error_pages.rst b/controller/error_pages.rst index a32316c8410..d01182a48eb 100644 --- a/controller/error_pages.rst +++ b/controller/error_pages.rst @@ -207,7 +207,7 @@ configuration option to point to it: # app/config/config.yml twig: - exception_controller: AppBundle:Exception:showException + exception_controller: AppBundle:Exception:showAction .. code-block:: xml @@ -222,7 +222,7 @@ configuration option to point to it: https://symfony.com/schema/dic/twig/twig-1.0.xsd"> - AppBundle:Exception:showException + AppBundle:Exception:showAction @@ -231,7 +231,7 @@ configuration option to point to it: // app/config/config.php $container->loadFromExtension('twig', [ - 'exception_controller' => 'AppBundle:Exception:showException', + 'exception_controller' => 'AppBundle:Exception:showAction', // ... ]);