summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeoffrey T. Dairiki <dairiki@dairiki.org>2011-05-04 07:13:20 -0700
committerGeoffrey T. Dairiki <dairiki@dairiki.org>2011-05-04 07:13:20 -0700
commite6ba3c9e27bcbf50268c20ef0ad27c3cbbba25aa (patch)
treee2f358a4666578eb62af60e3088da83b3a4198cd
parentf426e51a98a85ab55545bd836f31d8731cc14cfe (diff)
downloadpyramid-e6ba3c9e27bcbf50268c20ef0ad27c3cbbba25aa.tar.gz
pyramid-e6ba3c9e27bcbf50268c20ef0ad27c3cbbba25aa.tar.bz2
pyramid-e6ba3c9e27bcbf50268c20ef0ad27c3cbbba25aa.zip
Documentation typo fix
-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``.
"""