app/soc/views/models/request.py
changeset 929 7431d7770197
parent 928 df051fc9d7a1
child 940 a40056afef83
--- a/app/soc/views/models/request.py	Fri Jan 23 17:07:54 2009 +0000
+++ b/app/soc/views/models/request.py	Fri Jan 23 17:41:30 2009 +0000
@@ -149,6 +149,8 @@
     # put the entity in the context
     context['entity'] = request_entity
     context['module_name'] = params['module_name']
+    context['invite_accepted_redirect'] = (
+        redirects.getInviteAcceptedRedirect(entity, self._params))
 
     #display the invite processing page using the appropriate template
     template = params['invite_processing_template']
@@ -180,7 +182,7 @@
               'state' : 'group_accepted'}
 
     uh_params = params.copy()
-    uh_params['list_action'] = (redirects.inviteProcessRedirect, None)
+    uh_params['list_action'] = (redirects.getInviteProcessRedirect, None)
     uh_params['list_description'] = ugettext_lazy(
         "An overview of your unhandled invites.")