1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-11-08 21:21:06 +00:00

Remove unneeded routes

This commit is contained in:
Mo 2022-05-30 17:01:26 +02:00
parent d63f96947b
commit d9268f17a9

View file

@ -36,15 +36,3 @@ def set_semester():
red = request.referrer or url_for("index")
return redirect(red)
@app.route("/admin/docs")
@roles_required("admin")
def admin_docs():
return render_template("docs/admin.html")
@app.route("/assistant/docs")
@roles_accepted("admin", "assistant")
def assistant_docs():
return render_template("docs/assistant.html")