app/soc/views/helper/redirects.py
changeset 981 61a6a8d304dc
parent 946 db4134853d64
child 985 f0b02777f403
--- a/app/soc/views/helper/redirects.py	Sun Jan 25 12:28:26 2009 +0000
+++ b/app/soc/views/helper/redirects.py	Sun Jan 25 14:43:49 2009 +0000
@@ -94,6 +94,16 @@
   return result
 
 
+def getProcessRequestRedirect(entity, _):
+  """Returns the redirect for processing the specified request entity
+  """
+
+  result = '/%s/process_request/%s/%s' % (
+      entity.role, entity.scope_path, entity.link_id)
+
+  return result
+
+
 def getSelectRedirect(entity, params):
   """Returns the pick redirect for the specified entity.
   """