From 9e409a1fb1c58f9dfc7942c8378c9864d959a34f Mon Sep 17 00:00:00 2001 From: "Andrew (Andrius) Marcinkevicius" Date: Thu, 15 Jan 2015 09:43:45 +0200 Subject: [PATCH 1/2] Update error_pages.rst | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.3 | Fixed tickets | --- cookbook/controller/error_pages.rst | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/cookbook/controller/error_pages.rst b/cookbook/controller/error_pages.rst index fa8efef21fc..e53b27e4ded 100644 --- a/cookbook/controller/error_pages.rst +++ b/cookbook/controller/error_pages.rst @@ -178,7 +178,7 @@ to point to it. # app/config/config.yml twig: - exception_controller: AcmeFooBundle:Exception:showException + exception_controller: AppBundle:Exception:showException .. code-block:: xml @@ -187,11 +187,13 @@ to point to it. + xsi:schemaLocation="http://symfony.com/schema/dic/services + http://symfony.com/schema/dic/services/services-1.0.xsd + http://symfony.com/schema/dic/twig + http://symfony.com/schema/dic/twig/twig-1.0.xsd"> - AcmeFooBundle:Exception:showException + AppBundle:Exception:showException @@ -199,7 +201,7 @@ to point to it. // app/config/config.php $container->loadFromExtension('twig', array( - 'exception_controller' => 'AcmeFooBundle:Exception:showException', + 'exception_controller' => 'AppBundle:Exception:showException', // ... )); From a96674437ca719e81d8041c58e29d0a858d0809d Mon Sep 17 00:00:00 2001 From: "Andrew (Andrius) Marcinkevicius" Date: Fri, 16 Jan 2015 10:16:29 +0200 Subject: [PATCH 2/2] Update error_pages.rst --- cookbook/controller/error_pages.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cookbook/controller/error_pages.rst b/cookbook/controller/error_pages.rst index e53b27e4ded..3c9340b8235 100644 --- a/cookbook/controller/error_pages.rst +++ b/cookbook/controller/error_pages.rst @@ -178,7 +178,7 @@ to point to it. # app/config/config.yml twig: - exception_controller: AppBundle:Exception:showException + exception_controller: AcmeFooBundle:Exception:showException .. code-block:: xml @@ -193,7 +193,7 @@ to point to it. http://symfony.com/schema/dic/twig/twig-1.0.xsd"> - AppBundle:Exception:showException + AcmeFooBundle:Exception:showException @@ -201,7 +201,7 @@ to point to it. // app/config/config.php $container->loadFromExtension('twig', array( - 'exception_controller' => 'AppBundle:Exception:showException', + 'exception_controller' => 'AcmeFooBundle:Exception:showException', // ... ));