diff --git a/cookbook/controller/error_pages.rst b/cookbook/controller/error_pages.rst index a82f81b9ba0..3debcbe912a 100644 --- a/cookbook/controller/error_pages.rst +++ b/cookbook/controller/error_pages.rst @@ -16,7 +16,7 @@ control you need: 1. Customize the error templates of the different error pages (explained below); -2. Replace the default exception controller ``TwigBundle::Exception:show`` +2. Replace the default exception controller ``TwigBundle:Exception:show`` with your own controller and handle it however you want (see :ref:`exception_controller in the Twig reference`);