mirror of
https://codeberg.org/Mo8it/AdvLabDB.git
synced 2024-12-20 23:41:20 +00:00
Remove unneeded routes
This commit is contained in:
parent
d63f96947b
commit
d9268f17a9
1 changed files with 0 additions and 12 deletions
|
@ -36,15 +36,3 @@ def set_semester():
|
||||||
|
|
||||||
red = request.referrer or url_for("index")
|
red = request.referrer or url_for("index")
|
||||||
return redirect(red)
|
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")
|
|
||||||
|
|
Loading…
Reference in a new issue