summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2010-08-06 20:54:17 +0000
committerChris McDonough <chrism@agendaless.com>2010-08-06 20:54:17 +0000
commit7be3b177ed08596fed85022fd6d494d34509cf54 (patch)
tree40adf3b4768cc775da0f21a63da82de452efa12e /docs
parent26a0fd57b7cdd5423fdc3a3cf36bd1c7a3fb8453 (diff)
downloadpyramid-7be3b177ed08596fed85022fd6d494d34509cf54.tar.gz
pyramid-7be3b177ed08596fed85022fd6d494d34509cf54.tar.bz2
pyramid-7be3b177ed08596fed85022fd6d494d34509cf54.zip
rendering
Diffstat (limited to 'docs')
-rw-r--r--docs/designdefense.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/designdefense.rst b/docs/designdefense.rst
index ac8f128fb..bacbdaea6 100644
--- a/docs/designdefense.rst
+++ b/docs/designdefense.rst
@@ -1501,9 +1501,9 @@ Consider the following simple `Groundhog
app.route('/:action')
def action():
if action == 'add':
- return '<html>add</html>
+ return '<html>add</html>'
if action == 'delete':
- return '<html>delete</html>
+ return '<html>delete</html>'
return app.abort(404)
if __name__ == '__main__':
@@ -1521,9 +1521,9 @@ rearrange the order of the function definitions in the file?
app.route('/:action')
def action():
if action == 'add':
- return '<html>add</html>
+ return '<html>add</html>'
if action == 'delete':
- return '<html>delete</html>
+ return '<html>delete</html>'
return app.abort(404)
app.route('/admin')