summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki2/definingviews.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-08-14 14:26:10 -0400
committerChris McDonough <chrism@plope.com>2011-08-14 14:26:10 -0400
commit42d31c1c6355a7d6c72393ca668d7d200a994da3 (patch)
treeadf42602b9a69367fc63d509cbf949003cd16684 /docs/tutorials/wiki2/definingviews.rst
parent961f36a6f3a8714a0e063afc53e9a1724b6ecde6 (diff)
downloadpyramid-42d31c1c6355a7d6c72393ca668d7d200a994da3.tar.gz
pyramid-42d31c1c6355a7d6c72393ca668d7d200a994da3.tar.bz2
pyramid-42d31c1c6355a7d6c72393ca668d7d200a994da3.zip
- All tutorials now use - The ``route_url``, ``route_path``,
``resource_url``, ``static_url``, and ``current_route_url`` methods of the request rather than the function variants imported from ``pyramid.url``.
Diffstat (limited to 'docs/tutorials/wiki2/definingviews.rst')
-rw-r--r--docs/tutorials/wiki2/definingviews.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/tutorials/wiki2/definingviews.rst b/docs/tutorials/wiki2/definingviews.rst
index c91d1d914..8f6dd6455 100644
--- a/docs/tutorials/wiki2/definingviews.rst
+++ b/docs/tutorials/wiki2/definingviews.rst
@@ -93,9 +93,9 @@ The ``view_wiki`` function returns an instance of the
:class:`pyramid.httpexceptions.HTTPFound` class (instances of which implement
the :class:`pyramid.interfaces.IResponse` interface like
:class:`pyramid.response.Response` does), It will use the
-:func:`pyramid.url.route_url` API to construct a URL to the ``FrontPage``
-page (e.g. ``http://localhost:6543/FrontPage``), and will use it as the
-"location" of the HTTPFound response, forming an HTTP redirect.
+:meth:`pyramid.request.Request.route_url` API to construct a URL to the
+``FrontPage`` page (e.g. ``http://localhost:6543/FrontPage``), and will use
+it as the "location" of the HTTPFound response, forming an HTTP redirect.
The ``view_page`` view function
-------------------------------