diff -r cafae4de01b3 -r 9eb7837f7332 pymove3d.py --- a/pymove3d.py Sat Jan 18 14:59:44 2014 +0100 +++ b/pymove3d.py Sat Jan 18 15:04:37 2014 +0100 @@ -65,15 +65,16 @@ def privacy(): return render_template(get_locale() + "/privacy.html", act="privacy") - -@app.route(_("/competition-2013")) +@app.route("/competition/2013") def competition_2013(): - return render_template(get_locale() + "/archive/competitions/2013/comptetition_2013.html", + print get_locale() + "/archive/competitions/2013/index.html" + return render_template(get_locale() + "/archive/competitions/2013/index.html", act="coursematerial") -@app.route(_("/competition-2014")) +@app.route("/competition/2014") def competition_2014(): - return render_template(get_locale() + "archive/competitions/2014/competition_2014.html", + print get_locale() + "/archive/competitions/2014/index.html" + return render_template(get_locale() + "/archive/competitions/2014/index.html", act="coursematerial") @app.route(_("/dates")) @@ -88,5 +89,3 @@ if __name__ == "__main__": app.run(host='localhost', port=5014, debug=True) - -