Skip to content

Commit 99db0a7

Browse files
authored
Updated the location of the errors.xml file
1 parent 1e756fe commit 99db0a7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

controller/error_pages.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ automatically when installing Twig support):
159159
160160
# config/routes/dev/twig.yaml
161161
_errors:
162-
resource: '@TwigBundle/Resources/config/routing/errors.xml'
162+
resource: '@FrameworkBundle/Resources/config/routing/errors.xml'
163163
prefix: /_error
164164
165165
.. code-block:: xml
@@ -171,7 +171,7 @@ automatically when installing Twig support):
171171
xsi:schemaLocation="http://symfony.com/schema/routing
172172
https://symfony.com/schema/routing/routing-1.0.xsd">
173173
174-
<import resource="@TwigBundle/Resources/config/routing/errors.xml" prefix="/_error"/>
174+
<import resource="@FrameworkBundle/Resources/config/routing/errors.xml" prefix="/_error"/>
175175
</routes>
176176
177177
.. code-block:: php
@@ -180,7 +180,7 @@ automatically when installing Twig support):
180180
use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator;
181181
182182
return function (RoutingConfigurator $routes) {
183-
$routes->import('@TwigBundle/Resources/config/routing/errors.xml')
183+
$routes->import('@FrameworkBundle/Resources/config/routing/errors.xml')
184184
->prefix('/_error')
185185
;
186186
};

0 commit comments

Comments
 (0)