summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorhuanghao <huang1hao@gmail.com>2015-04-21 14:08:49 +0800
committerhuanghao <huang1hao@gmail.com>2015-04-21 14:08:49 +0800
commit0af72eac0e2945d36a5f8cc8505566839e6e9a8f (patch)
tree2e2f864c0e39f91cc63f34a84521b9855e108bea /docs
parentf30dddcfebd782062b80fd78e32cfd6fd601dd86 (diff)
downloadroutes-0af72eac0e2945d36a5f8cc8505566839e6e9a8f.tar.gz
Fix typo in docs
Remove useless leading slash
Diffstat (limited to 'docs')
-rw-r--r--docs/generating.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/generating.rst b/docs/generating.rst
index 775e936..4eb9eed 100644
--- a/docs/generating.rst
+++ b/docs/generating.rst
@@ -128,7 +128,7 @@ named. To define a static route, use the argument ``_static=True``.
This example provides a convenient way to link to a search::
map.connect("google", "http://google.com/", _static=True)
- url("google", q="search term") => "/http://google.com/?q=search+term")
+ url("google", q="search term") => "http://google.com/?q=search+term")
This example generates a URL to a static image in a Pylons public directory.
Pylons serves the public directory in a way that bypasses Routes, so there's no