From e6ba3c9e27bcbf50268c20ef0ad27c3cbbba25aa Mon Sep 17 00:00:00 2001 From: "Geoffrey T. Dairiki" Date: Wed, 4 May 2011 07:13:20 -0700 Subject: Documentation typo fix --- pyramid/url.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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``. """ -- cgit v1.2.3