Skip to content

Commit daeda56

Browse files
javiereguiluzxabbuh
authored andcommitted
Fixed the YAML syntax for service references
1 parent 506b331 commit daeda56

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cookbook/routing/custom_route_loader.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A custom route loader does not enable your bundle to inject routes
1616
without the need to modify the routing configuration
1717
(e.g. ``app/config/routing.yml``) manually.
1818
If your bundle provides routes, whether via a configuration file, like
19-
the `WebProfilerBundle` does, or via a custom route loader, like the
19+
the `WebProfilerBundle` does, or via a custom route loader, like the
2020
`FOSRestBundle`_ does, an entry in the routing configuration is always
2121
necessary.
2222

@@ -46,7 +46,7 @@ Take these lines from the ``routing.yml`` in the Symfony Standard Edition:
4646
4747
# app/config/routing.yml
4848
app:
49-
resource: @AppBundle/Controller/
49+
resource: "@AppBundle/Controller/"
5050
type: annotation
5151
5252
When the main loader parses this, it tries all registered delegate loaders and calls

reference/configuration/twig.rst

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

0 commit comments

Comments
 (0)