app/soc/views/helper/redirects.py
changeset 1487 d18c71f4fabe
parent 1485 430df988d395
child 1746 c99815c27c4d
--- a/app/soc/views/helper/redirects.py	Tue Feb 24 19:51:40 2009 +0000
+++ b/app/soc/views/helper/redirects.py	Tue Feb 24 19:54:36 2009 +0000
@@ -155,6 +155,17 @@
   return result
 
 
+def getListProposalsRedirect(entity, params):
+  """Returns the redirect for the List page for the given
+  Org entity and Org View params.
+  """
+
+  result = '/%s/list_proposals/%s' % (
+      params['url_name'], entity.key().name())
+
+  return result
+
+
 def getListRequestsRedirect(entity, params):
   """Returns the redirect for the List Requests paged for the given
   Group entity and Group View params.