From a335741b1fd0e55ed94f310ed4e7268385584d94 Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Wed, 21 Apr 2010 18:55:05 +0200 Subject: [PATCH] Added trailing slashes for consistency with docs. --- flask_website.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flask_website.py b/flask_website.py index 5db93155..795cd15a 100644 --- a/flask_website.py +++ b/flask_website.py @@ -81,7 +81,7 @@ def mailinglist_index(): @app.route('/mailinglist/archive/', defaults={'page': 1}) -@app.route('/mailinglist/archive/page/') +@app.route('/mailinglist/archive/page//') def mailinglist_archive(page): all_threads = Thread.get_list() offset = (page - 1) * THREADS_PER_PAGE @@ -93,7 +93,7 @@ def mailinglist_archive(page): page=page, threads=threads) -@app.route('/mailinglist/archives////') +@app.route('/mailinglist/archives/////') def mailinglist_show_thread(year, month, day, slug): thread = Thread.get(year, month, day, slug) if thread is None: