aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--budget/web.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/budget/web.py b/budget/web.py
index 31c2ced..c5e0da2 100644
--- a/budget/web.py
+++ b/budget/web.py
@@ -357,3 +357,7 @@ def create_archive():
flash(_("The data from XX to XX has been archived"))
return render_template("create_archive.html", form=form)
+
+@main.route("/dashboard")
+def dashboard():
+ return render_template("dashboard.html", projects=Project.query.all())