summaryrefslogtreecommitdiff
path: root/controller.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2010-08-26 20:23:00 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2010-08-26 20:23:00 +0200
commit958e98c4df6a9d546ad2a2934cc61493e87a1ef0 (patch)
tree94018eed84e56c1d9e71ffbd548e762120b67cdb /controller.py
parent5af7f60afa82fc874c4496e8cb41de13ec20e316 (diff)
downloadkosten-958e98c4df6a9d546ad2a2934cc61493e87a1ef0.tar.gz
kosten-958e98c4df6a9d546ad2a2934cc61493e87a1ef0.tar.bz2
kosten-958e98c4df6a9d546ad2a2934cc61493e87a1ef0.zip
Make add redirect to add
Diffstat (limited to 'controller.py')
-rw-r--r--controller.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/controller.py b/controller.py
index 190804a..4aea9cd 100644
--- a/controller.py
+++ b/controller.py
@@ -68,7 +68,7 @@ class Add:
e.expense = decimal.Decimal(f.expense.value)
e.description = f.description.value
- raise web.seeother("/")
+ raise web.seeother("/add")
else:
return self.render(f)