summaryrefslogtreecommitdiff
path: root/app/views/consts.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2013-05-10 19:15:28 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2013-05-10 19:15:28 +0200
commit96358c6cf10e79b3375e0a5035ecc94bddfe933d (patch)
tree44efa6b0fc415be3c2e65d6d51d6df7353334760 /app/views/consts.py
parent92fcf8fcf23ac99aafd64a44e6cf8d4951dee796 (diff)
downloadkosten-96358c6cf10e79b3375e0a5035ecc94bddfe933d.tar.gz
kosten-96358c6cf10e79b3375e0a5035ecc94bddfe933d.tar.bz2
kosten-96358c6cf10e79b3375e0a5035ecc94bddfe933d.zip
Fix redirect
Diffstat (limited to '')
-rw-r--r--app/views/consts.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/consts.py b/app/views/consts.py
index 6200bfa..dab02e0 100644
--- a/app/views/consts.py
+++ b/app/views/consts.py
@@ -70,7 +70,7 @@ def edit(id):
elif form.validate(): # change
form.populate_obj(exp)
db.session.commit()
- return redirect(".show")
+ return redirect(".show", id = id)
return { 'form': form }