From db488fe05da8a65837e2b9b283d4b67bda43945c Mon Sep 17 00:00:00 2001 From: Quentin Stoeckel Date: Mon, 12 Jun 2017 16:05:47 +0200 Subject: [PATCH] Fix autoescape_service example As @fabpot said in https://github.com/symfony/symfony/issues/8833, the `autoescape_service` value must not start with an `@`. --- reference/configuration/twig.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/configuration/twig.rst b/reference/configuration/twig.rst index a0840a23e66..908bfb3f204 100644 --- a/reference/configuration/twig.rst +++ b/reference/configuration/twig.rst @@ -43,7 +43,7 @@ TwigBundle Configuration ("twig") autoescape: ~ # See http://twig.sensiolabs.org/doc/recipes.html#using-the-template-name-to-set-the-default-escaping-strategy - autoescape_service: ~ # Example: '@my_service' + autoescape_service: ~ # Example: 'my_service' autoescape_service_method: ~ # use in combination with autoescape_service option base_template_class: ~ # Example: Twig_Template cache: '%kernel.cache_dir%/twig'