From d9268f17a953cb4edf1957d1091bcce84a591cea Mon Sep 17 00:00:00 2001 From: Mo8it Date: Mon, 30 May 2022 17:01:26 +0200 Subject: [PATCH] Remove unneeded routes --- advlabdb/routes.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/advlabdb/routes.py b/advlabdb/routes.py index 56aef3e..1d52d80 100644 --- a/advlabdb/routes.py +++ b/advlabdb/routes.py @@ -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")