Skip to content

Added note about Service Container parameters inside routes #1980

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 28, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions book/routing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -777,6 +777,12 @@ a slash. URLs matching this route might look like:
each value of ``_format``. The ``_format`` parameter is a very powerful way
to render the same content in different formats.

.. note::

Sometimes you want to make some parts of your routes globally configurable.
Symfony2.1 provides you a way to use a Service Container parameter. Read
more about this in ":doc:`/cookbook/routing/service_container_parameters`.

Special Routing Parameters
~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down