8000 Fix autoescape_service example · Nek-/symfony-docs@4497d43 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4497d43

Browse files
quentin-stweaverryan
authored andcommitted
Fix autoescape_service example
As @fabpot said in symfony/symfony#8833, the `autoescape_service` value must not start with an `@`.
1 parent cc65be3 commit 4497d43

File tree

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'