From bf360f0a1cfccc0d73652c6387cfabd633ad7b0d Mon Sep 17 00:00:00 2001 From: Andreas <andreasv@fsmpi.rwth-aachen.de> Date: Sat, 2 Dec 2017 21:53:49 +0100 Subject: [PATCH] added legacy handler for faq --- legacy.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/legacy.py b/legacy.py index 0fcfab2..14beb0f 100644 --- a/legacy.py +++ b/legacy.py @@ -10,6 +10,8 @@ def legacy_index(): if not courses: return "Not found", 404 return redirect(url_for('lecture', course=courses[0]['handle'], id=request.args['lectureid']),code=302) + if request.args['view'] == 'faq': + return redirect(url_for('faq'),code=302) return None @app.route('/site/') -- GitLab