summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos de la Guardia <cguardia@yahoo.com>2011-05-04 17:38:40 -0700
committerCarlos de la Guardia <cguardia@yahoo.com>2011-05-04 17:38:40 -0700
commit11c4d636ac158b7a3d0ca40cc52130ffef6d21c3 (patch)
treee2f358a4666578eb62af60e3088da83b3a4198cd
parentf426e51a98a85ab55545bd836f31d8731cc14cfe (diff)
parente6ba3c9e27bcbf50268c20ef0ad27c3cbbba25aa (diff)
downloadpyramid-11c4d636ac158b7a3d0ca40cc52130ffef6d21c3.tar.gz
pyramid-11c4d636ac158b7a3d0ca40cc52130ffef6d21c3.tar.bz2
pyramid-11c4d636ac158b7a3d0ca40cc52130ffef6d21c3.zip
Merge pull request #181 from dairiki/master
Minor documentation typo
-rw-r--r--pyramid/url.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyramid/url.py b/pyramid/url.py
index ebf0402d8..2a6fda89a 100644
--- a/pyramid/url.py
+++ b/pyramid/url.py
@@ -413,7 +413,7 @@ def current_route_url(request, *elements, **kw):
named ``fooaction``, and the current url pattern is ``/foo/view`` (which
has matched the ``/foo/{action}`` route), we may want to use the
matchdict args to generate a URL to the ``fooaction`` route. In this
- scenario, ``current_url(request, _route_name='fooaction', page='5')``
+ scenario, ``current_route_url(request, _route_name='fooaction', page='5')``
Will return string like: ``/foo/view/5``.
"""