Skip to content

Commit 9879aa6

Browse files
committed
bug #8025 Fix autoescape_service example (chteuchteu)
This PR was submitted for the 3.3 branch but it was merged into the 2.7 branch instead (closes #8025). Discussion ---------- Fix autoescape_service example As @fabpot said in symfony/symfony#8833, the `autoescape_service` value must not start with an `@`. Commits ------- 4497d43 Fix autoescape_service example
2 parents cc65be3 + 4497d43 commit 9879aa6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/configuration/twig.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ TwigBundle Configuration ("twig")
4141
4242
# The following were added in Symfony 2.3.
4343
# See http://twig.sensiolabs.org/doc/recipes.html#using-the-template-name-to-set-the-default-escaping-strategy
44-
autoescape_service: ~ # Example: '@my_service'
44+
autoescape_service: ~ # Example: 'my_service'
4545
autoescape_service_method: ~ # use in combination with autoescape_service option
4646
base_template_class: ~ # Example: Twig_Template
4747
cache: '%kernel.cache_dir%/twig'

0 commit comments

Comments
 (0)