diff options
author | huanghao <huang1hao@gmail.com> | 2015-03-30 20:15:26 +0800 |
---|---|---|
committer | huanghao <huang1hao@gmail.com> | 2015-03-30 20:15:26 +0800 |
commit | 3c8213def3c908882427a05044b3880edabaa334 (patch) | |
tree | 82a7214be0bd1eb93a159325e232833048e92608 /docs | |
parent | 1a4986f55c9eef874d61a7126437be3ca140acfc (diff) | |
download | routes-3c8213def3c908882427a05044b3880edabaa334.tar.gz |
Fix typo in url() example
It should be "archives" rather than "blog"
Diffstat (limited to 'docs')
-rw-r--r-- | docs/generating.rst | 4 |
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.) |