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``):
170170 xsi : schemaLocation =" http://symfony.com/schema/routing
171171 https://symfony.com/schema/routing/routing-1.0.xsd" >
172172
173- <when env =" prod " >
173+ <when env =" dev " >
174174 <import resource =" @FrameworkBundle/Resources/config/routing/errors.xml" prefix =" /_error" />
175175 </when >
176176 </routes >
@@ -181,7 +181,7 @@ automatically when installing ``symfony/framework-bundle``):
181181 use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator;
182182
183183 return function (RoutingConfigurator $routes) {
184- if ('dev' === $container ->env()) {
184+ if ('dev' === $routes ->env()) {
185185 $routes->import('@FrameworkBundle/Resources/config/routing/errors.xml')
186186 ->prefix('/_error')
187187 ;
You can’t perform that action at this time.
0 commit comments