From 5868630e1f6fc25e9584efc860abd04da8aa1837 Mon Sep 17 00:00:00 2001 From: Andrew Croce Date: Mon, 24 Sep 2018 16:09:20 -0400 Subject: [PATCH] add a public help route --- atst/domain/auth.py | 1 + atst/routes/__init__.py | 3 +++ 2 files changed, 4 insertions(+) diff --git a/atst/domain/auth.py b/atst/domain/auth.py index 7575ea11..904708d6 100644 --- a/atst/domain/auth.py +++ b/atst/domain/auth.py @@ -8,6 +8,7 @@ UNPROTECTED_ROUTES = [ "dev.login_dev", "atst.login_redirect", "atst.unauthorized", + "atst.helpdocs", "static", ] diff --git a/atst/routes/__init__.py b/atst/routes/__init__.py index c3bc40a6..100815f7 100644 --- a/atst/routes/__init__.py +++ b/atst/routes/__init__.py @@ -13,6 +13,9 @@ bp = Blueprint("atst", __name__) @bp.route("/") def root(): return render_template("root.html") +@bp.route("/help") +def helpdocs(): + return render_template("help/index.html") @bp.route("/home")