Skip to content

Commit 019a17f

Browse files
committed
Merge pull request #1980 from WouterJ/add_note_route_di_params
Added note about Service Container parameters inside routes
2 parents 9e2363d + 7941f8e commit 019a17f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

book/routing.rst

+6
Original file line numberDiff line numberDiff line change
@@ -777,6 +777,12 @@ a slash. URLs matching this route might look like:
777777
each value of ``_format``. The ``_format`` parameter is a very powerful way
778778
to render the same content in different formats.
779779

780+
.. note::
781+
782+
Sometimes you want to make some parts of your routes globally configurable.
783+
Symfony2.1 provides you a way to use a Service Container parameter. Read
784+
more about this in ":doc:`/cookbook/routing/service_container_parameters`.
785+
780786
Special Routing Parameters
781787
~~~~~~~~~~~~~~~~~~~~~~~~~~
782788

0 commit comments

Comments
 (0)