--- a/app/soc/views/helper/redirects.py Fri Jan 23 11:40:35 2009 +0000
+++ b/app/soc/views/helper/redirects.py Fri Jan 23 12:00:48 2009 +0000
@@ -91,9 +91,15 @@
"""Returns the redirect for accepting an invite.
"""
- return '/%s/create/%s/%s' % (
+ return '/%s/accept_invite/%s/%s' % (
entity.role, entity.scope_path, entity.link_id)
+def inviteProcessRedirect(entity, _):
+ """Returns the redirect for processing an invite
+ """
+
+ return '/request/process_invite/%s/%s/%s' % (
+ entity.scope_path, entity.role, entity.link_id)
def getApplicantRedirect(entity, params):
"""Returns the redirect for processing accepted Applications.