--- a/app/soc/views/helper/redirects.py Fri Jan 23 17:07:54 2009 +0000
+++ b/app/soc/views/helper/redirects.py Fri Jan 23 17:41:30 2009 +0000
@@ -94,20 +94,22 @@
return result
-def inviteAcceptedRedirect(entity, _):
+def getInviteAcceptedRedirect(entity, _):
"""Returns the redirect for accepting an invite.
"""
return '/%s/accept_invite/%s/%s' % (
entity.role, entity.scope_path, entity.link_id)
-def inviteProcessRedirect(entity, _):
+
+def getInviteProcessRedirect(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.
"""