summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2012-03-11 19:16:09 -0700
committerChris McDonough <chrism@plope.com>2012-03-11 19:16:09 -0700
commitb88812d30bfc1d2a92d667f9c1d42097827ad8b0 (patch)
treecd2d132b6dc73d32c38d5a15fcab1eae7821f2a4 /docs
parentca9f88da0aab4501ec05a9d9ac9a40e131a131dc (diff)
parentd66d9a6507a983f4a6510ba19a0d4f3e87e39c4b (diff)
downloadpyramid-b88812d30bfc1d2a92d667f9c1d42097827ad8b0.tar.gz
pyramid-b88812d30bfc1d2a92d667f9c1d42097827ad8b0.tar.bz2
pyramid-b88812d30bfc1d2a92d667f9c1d42097827ad8b0.zip
Merge branch 'master' of github.com:Pylons/pyramid
Diffstat (limited to 'docs')
-rw-r--r--docs/narr/introduction.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/narr/introduction.rst b/docs/narr/introduction.rst
index 92955aafd..507201439 100644
--- a/docs/narr/introduction.rst
+++ b/docs/narr/introduction.rst
@@ -260,11 +260,11 @@ Here's a few views defined as methods of a class instead:
self.request = request
@view_config(route_name='view_one')
- def view_one(request):
+ def view_one(self, request):
return Response('one')
@view_config(route_name='view_two')
- def view_two(request):
+ def view_two(self, request):
return Response('two')
See also :ref:`view_config_placement`.