summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--app/views/expenses.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/expenses.py b/app/views/expenses.py
index 500f103..583ac79 100644
--- a/app/views/expenses.py
+++ b/app/views/expenses.py
@@ -100,6 +100,6 @@ def add():
db.session.add(exp)
db.session.commit()
- return redirect(url_for("index"))
+ return redirect(url_for(".add"))
return render_template(T("add"), form=form)