summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorhuanghao <huang1hao@gmail.com>2015-03-30 20:15:26 +0800
committerhuanghao <huang1hao@gmail.com>2015-03-30 20:15:26 +0800
commit3c8213def3c908882427a05044b3880edabaa334 (patch)
tree82a7214be0bd1eb93a159325e232833048e92608 /docs
parent1a4986f55c9eef874d61a7126437be3ca140acfc (diff)
downloadroutes-3c8213def3c908882427a05044b3880edabaa334.tar.gz
Fix typo in url() example
It should be "archives" rather than "blog"
Diffstat (limited to 'docs')
-rw-r--r--docs/generating.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/generating.rst b/docs/generating.rst
index cebad5d..775e936 100644
--- a/docs/generating.rst
+++ b/docs/generating.rst
@@ -24,8 +24,8 @@ specified. Example::
m.connect("archives", "/archives/{id}",
controller="archives", action="view", id=1)
- url("blog", id=123) => "/blog/123"
- url("blog") => "/blog/1"
+ url("archives", id=123) => "/archives/123"
+ url("archives") => "/archives/1"
(The extra variable is *not* used for matching unless minimization is enabled.)