summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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``.
"""