Brown-paper-bag fix in notification.py
authorSverre Rabbelier <srabbelier@gmail.com>
Sat, 13 Dec 2008 18:21:35 +0000
changeset 738 61867ffea8a8
parent 737 4c78ee183eb6
child 739 b245c2b814c5
Brown-paper-bag fix in notification.py Was missing a leading slash in the redirect. Patch by: Sverre Rabbelier
app/soc/views/models/notification.py
--- a/app/soc/views/models/notification.py	Sat Dec 13 14:55:00 2008 +0000
+++ b/app/soc/views/models/notification.py	Sat Dec 13 18:21:35 2008 +0000
@@ -115,7 +115,7 @@
 
     new_params['create_form'] = CreateForm
 
-    new_params['edit_redirect'] = '%(url_name)s/list'
+    new_params['edit_redirect'] = '/%(url_name)s/list'
 
     params = dicts.merge(params, new_params)