summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTshepang Lekhonkhobe <tshepang@gmail.com>2013-02-16 11:55:14 +0200
committerTshepang Lekhonkhobe <tshepang@gmail.com>2013-03-05 02:03:17 +0200
commit04a662656deeafe0a8db61d29c64733181badb73 (patch)
treeba91a5146789a55befdfe2943868ab53c78035a2 /docs
parent21264e3ed45fda41fb608ea4f69948aa9f9430c1 (diff)
downloadpyramid-04a662656deeafe0a8db61d29c64733181badb73.tar.gz
pyramid-04a662656deeafe0a8db61d29c64733181badb73.tar.bz2
pyramid-04a662656deeafe0a8db61d29c64733181badb73.zip
DRY
Diffstat (limited to 'docs')
-rw-r--r--docs/narr/firstapp.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/narr/firstapp.rst b/docs/narr/firstapp.rst
index d61d95685..ab6a46c2f 100644
--- a/docs/narr/firstapp.rst
+++ b/docs/narr/firstapp.rst
@@ -175,9 +175,9 @@ First line above calls the :meth:`pyramid.config.Configurator.add_route`
method, which registers a :term:`route` to match any URL path that begins
with ``/hello/`` followed by a string.
-The second line, ``config.add_view(hello_world, route_name='hello')``,
-registers the ``hello_world`` function as a :term:`view callable` and makes
-sure that it will be called when the ``hello`` route is matched.
+The second line registers the ``hello_world`` function as a
+:term:`view callable` and makes sure that it will be called when the
+``hello`` route is matched.
.. index::
single: make_wsgi_app