app/soc/views/helper/redirects.py
changeset 1254 6be0286ef003
parent 1238 af56ae7397ab
child 1307 091a21cf3627
--- a/app/soc/views/helper/redirects.py	Sun Feb 08 22:57:23 2009 +0000
+++ b/app/soc/views/helper/redirects.py	Sun Feb 08 23:49:29 2009 +0000
@@ -97,6 +97,7 @@
   """Returns the redirect to the review_overview using the 
      keyname of the specified entity.
   """
+
   return '/%s/review_overview/%s' % (
       params['url_name'], entity.key().name())
 
@@ -141,6 +142,16 @@
   return result
 
 
+def getListSelfRedirect(entity, params):
+  """Returns the redirect for list_self access type.
+  """
+
+  result = '/%s/list_self/%s' % (
+      params['url_name'], entity.key().name())
+
+  return result
+
+
 def getListRolesRedirect(entity, params):
   """Returns the redirect for the List Roles paged for the given
   Group entity and Group View params.