Skip to content

Commit

Permalink
minor #6506 Added a tip about routes and container parameters (javier…
Browse files Browse the repository at this point in the history
…eguiluz)

This PR was squashed before being merged into the 2.3 branch (closes #6506).

Discussion
----------

Added a tip about routes and container parameters

This replaces #6505.

Commits
-------

ae0f2c9 Added a tip about routes and container parameters
  • Loading branch information
wouterj committed May 5, 2016
2 parents cb6a26c + ae0f2c9 commit 154eb93
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions book/routing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -808,6 +808,13 @@ Path Parameters
``/es`` *won't match this route*
======= ========================

.. tip::

The route requirements can also include container parameters, as explained
in :doc:`this article </cookbook/routing/service_container_parameters>`.
This comes in handy when the regular expression is very complex and used
repeatedly in your application.

.. index::
single: Routing; Method requirement

Expand Down

0 comments on commit 154eb93

Please sign in to comment.