Skip to content

Commit 7941f8e

Browse files
committed
Added note about Service Container parameters inside routes
1 parent b46a025 commit 7941f8e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

book/routing.rst

Lines changed: 6 additions & 0 deletions
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)