From 3d1b6674efb04f6c3de7051e1c4d0eff99ba0e80 Mon Sep 17 00:00:00 2001 From: gitomato Date: Tue, 7 Jun 2022 17:34:48 +0200 Subject: [PATCH] Fix development testing examples --- controller/error_pages.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/controller/error_pages.rst b/controller/error_pages.rst index 2eec5213956..320c1aaae62 100644 --- a/controller/error_pages.rst +++ b/controller/error_pages.rst @@ -170,7 +170,7 @@ automatically when installing ``symfony/framework-bundle``): xsi:schemaLocation="http://symfony.com/schema/routing https://symfony.com/schema/routing/routing-1.0.xsd"> - + @@ -181,7 +181,7 @@ automatically when installing ``symfony/framework-bundle``): use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator; return function (RoutingConfigurator $routes) { - if ('dev' === $container->env()) { + if ('dev' === $routes->env()) { $routes->import('@FrameworkBundle/Resources/config/routing/errors.xml') ->prefix('/_error') ;