From 2f7fa35dc84e0bca88b905e25782e2c95e4c2b9c Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Thu, 21 Apr 2016 11:49:06 +0200 Subject: [PATCH 1/2] Added a tip about routes and container parameters --- book/routing.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/book/routing.rst b/book/routing.rst index aa08421c458..ce497ff120a 100644 --- a/book/routing.rst +++ b/book/routing.rst @@ -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 `. + This comes in handy when the regular expression is very complex and used + time and again in your application. + .. index:: single: Routing; Method requirement From cef4a05bdd32347b6f86b2bff2fd71327700585d Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Tue, 3 May 2016 10:21:18 +0200 Subject: [PATCH 2/2] Minor reword --- book/routing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/routing.rst b/book/routing.rst index ce497ff120a..acf50517853 100644 --- a/book/routing.rst +++ b/book/routing.rst @@ -813,7 +813,7 @@ Path Parameters The route requirements can also include container parameters, as explained in :doc:`this article `. This comes in handy when the regular expression is very complex and used - time and again in your application. + repeatedly in your application. .. index:: single: Routing; Method requirement