aboutsummaryrefslogtreecommitdiff
path: root/budget/web.py
diff options
context:
space:
mode:
authorA.Avenel <avenel.alexandre@gmail.com>2013-04-07 20:25:25 +0200
committerA.Avenel <avenel.alexandre@gmail.com>2013-04-07 20:25:25 +0200
commit1fa0cff180d668a8d93d24413fe7832cdbd3e826 (patch)
tree5bd62decbb5b56ea82d881ef5b307d2ff10f8503 /budget/web.py
parentb410e48851b440c279366de1cda151bfef09d9b8 (diff)
downloadihatemoney-mirror-1fa0cff180d668a8d93d24413fe7832cdbd3e826.zip
ihatemoney-mirror-1fa0cff180d668a8d93d24413fe7832cdbd3e826.tar.gz
ihatemoney-mirror-1fa0cff180d668a8d93d24413fe7832cdbd3e826.tar.bz2
use "member.id" instead of "member"
Diffstat (limited to 'budget/web.py')
-rw-r--r--budget/web.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/budget/web.py b/budget/web.py
index a9f70cb..f975587 100644
--- a/budget/web.py
+++ b/budget/web.py
@@ -383,11 +383,11 @@ def change_lang(lang):
return redirect(request.headers.get('Referer') or url_for('.home'))
-@main.route("/<project_id>/settle_bill")
+@main.route("/<project_id>/settle_bills")
def settle_bill():
"""Compute the sum each one have to pay to each other and display it"""
- bills = g.project.settle_bill()
- return render_template("settle_bill.html", bills=bills)
+ bills = g.project.settle_bills()
+ return render_template("settle_bills.html", bills=bills)
@main.route("/<project_id>/archives/create", methods=["GET", "POST"])