app/soc/views/helper/redirects.py
changeset 920 39badbfb80be
parent 891 3d40190f35b6
child 923 5a10f6db154b
--- 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.