summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJay Martin <james.martin7@gmail.com>2014-10-14 09:19:47 -0400
committerJay Martin <james.martin7@gmail.com>2014-10-14 09:19:47 -0400
commit6aa96d5d40f8c420f020ae187d6842e01e6c668c (patch)
tree5ba9e9d0f7732da2da530cae0780e7a2b9f79b63 /docs
parent39c64b7369ac4563a373e050d30d86872d0150cf (diff)
downloadpyramid-6aa96d5d40f8c420f020ae187d6842e01e6c668c.tar.gz
pyramid-6aa96d5d40f8c420f020ae187d6842e01e6c668c.tar.bz2
pyramid-6aa96d5d40f8c420f020ae187d6842e01e6c668c.zip
fix route name in comments
Diffstat (limited to 'docs')
-rw-r--r--docs/quick_tutorial/more_view_classes/tutorial/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/quick_tutorial/more_view_classes/tutorial/views.py b/docs/quick_tutorial/more_view_classes/tutorial/views.py
index 635de0520..fc0ccc37f 100644
--- a/docs/quick_tutorial/more_view_classes/tutorial/views.py
+++ b/docs/quick_tutorial/more_view_classes/tutorial/views.py
@@ -25,13 +25,13 @@ class TutorialViews:
def hello(self):
return {'page_title': 'Hello View'}
- # Posting to /home via the "Edit" submit button
+ # Posting to /hello via the "Edit" submit button
@view_config(request_method='POST', renderer='edit.pt')
def edit(self):
new_name = self.request.params['new_name']
return {'page_title': 'Edit View', 'new_name': new_name}
- # Posting to /home via the "Delete" submit button
+ # Posting to /hello via the "Delete" submit button
@view_config(request_method='POST', request_param='form.delete',
renderer='delete.pt')
def delete(self):