summaryrefslogtreecommitdiff
path: root/docs/tutorials/bfgwiki2/definingviews.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/tutorials/bfgwiki2/definingviews.rst')
-rw-r--r--docs/tutorials/bfgwiki2/definingviews.rst9
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/tutorials/bfgwiki2/definingviews.rst b/docs/tutorials/bfgwiki2/definingviews.rst
index 515090e91..e12800d13 100644
--- a/docs/tutorials/bfgwiki2/definingviews.rst
+++ b/docs/tutorials/bfgwiki2/definingviews.rst
@@ -71,10 +71,11 @@ The ``view_wiki`` function will respond as the default view of a
``Wiki`` model object. It always redirects to a URL which represents
the path to our "FrontPage". It returns an instance of the
``webob.exc.HTTPFound`` class (instances of which implement the WebOb
-:term:`response` interface), It will use the the ``routes.url_for``
-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.
+:term:`response` interface), It will use the the
+``repoze.bfg.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.
The ``view_page`` view function
-------------------------------