From 96358c6cf10e79b3375e0a5035ecc94bddfe933d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Fri, 10 May 2013 19:15:28 +0200 Subject: Fix redirect --- app/views/consts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- cgit v1.2.3