diff options
-rw-r--r-- | jimbrella/admin.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/jimbrella/admin.py b/jimbrella/admin.py index f0b2f69..19c5a12 100644 --- a/jimbrella/admin.py +++ b/jimbrella/admin.py @@ -129,7 +129,12 @@ def umbrellas_edit(): return redirect(url_for("admin.umbrellas")) -@bp.route("/logs") -def logs(): +@bp.route("/adminlogs") +def adminlogs(): logs = logger.read_admin() return render_template("admin/admin_logs.html", logs=logs) + +@bp.route("/logs") +def logs(): + logs = logger.read_tenant() + return render_template("admin/logs.html", logs=logs) |