Commit bf360f0a authored by Andreas Valder's avatar Andreas Valder

added legacy handler for faq

parent afdc8322
......@@ -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/')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment