diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/designdefense.rst | 8 |
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') |
