File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -170,7 +170,7 @@ automatically when installing ``symfony/framework-bundle``):
170
170
xsi : schemaLocation =" http://symfony.com/schema/routing
171
171
https://symfony.com/schema/routing/routing-1.0.xsd" >
172
172
173
- <when env =" prod " >
173
+ <when env =" dev " >
174
174
<import resource =" @FrameworkBundle/Resources/config/routing/errors.xml" prefix =" /_error" />
175
175
</when >
176
176
</routes >
@@ -181,7 +181,7 @@ automatically when installing ``symfony/framework-bundle``):
181
181
use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator;
182
182
183
183
return function (RoutingConfigurator $routes) {
184
- if ('dev' === $container ->env()) {
184
+ if ('dev' === $routes ->env()) {
185
185
$routes->import('@FrameworkBundle/Resources/config/routing/errors.xml')
186
186
->prefix('/_error')
187
187
;
You can’t perform that action at this time.
0 commit comments