File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ automatically when installing Twig support):
159
159
160
160
# config/routes/dev/twig.yaml
161
161
_errors :
162
- resource : ' @TwigBundle /Resources/config/routing/errors.xml'
162
+ resource : ' @FrameworkBundle /Resources/config/routing/errors.xml'
163
163
prefix : /_error
164
164
165
165
.. code-block :: xml
@@ -171,7 +171,7 @@ automatically when installing Twig support):
171
171
xsi : schemaLocation =" http://symfony.com/schema/routing
172
172
https://symfony.com/schema/routing/routing-1.0.xsd" >
173
173
174
- <import resource =" @TwigBundle /Resources/config/routing/errors.xml" prefix =" /_error" />
174
+ <import resource =" @FrameworkBundle /Resources/config/routing/errors.xml" prefix =" /_error" />
175
175
</routes >
176
176
177
177
.. code-block :: php
@@ -180,7 +180,7 @@ automatically when installing Twig support):
180
180
use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator;
181
181
182
182
return function (RoutingConfigurator $routes) {
183
- $routes->import('@TwigBundle /Resources/config/routing/errors.xml')
183
+ $routes->import('@FrameworkBundle /Resources/config/routing/errors.xml')
184
184
->prefix('/_error')
185
185
;
186
186
};
You can’t perform that action at this time.
0 commit comments