mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-06 05:01:48 +02:00
* Added back comment
This commit is contained in:
parent
b68692621c
commit
318b12af96
1 changed files with 1 additions and 0 deletions
|
@ -699,6 +699,7 @@ def delete_bill(bill_id):
|
||||||
|
|
||||||
@main.route("/<project_id>/edit/<int:bill_id>", methods=["GET", "POST"])
|
@main.route("/<project_id>/edit/<int:bill_id>", methods=["GET", "POST"])
|
||||||
def edit_bill(bill_id):
|
def edit_bill(bill_id):
|
||||||
|
# FIXME: Test this bill belongs to this project !
|
||||||
bill = Bill.query.get(g.project, bill_id)
|
bill = Bill.query.get(g.project, bill_id)
|
||||||
if not bill:
|
if not bill:
|
||||||
raise NotFound()
|
raise NotFound()
|
||||||
|
|
Loading…
Reference in a new issue