From 7be3b177ed08596fed85022fd6d494d34509cf54 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 6 Aug 2010 20:54:17 +0000 Subject: rendering --- docs/designdefense.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs') 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 'add + return 'add' if action == 'delete': - return 'delete + return 'delete' 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 'add + return 'add' if action == 'delete': - return 'delete + return 'delete' return app.abort(404) app.route('/admin') -- cgit v1.2.3