app/soc/views/helper/redirects.py
changeset 1065 b661dc8ffd5f
parent 1032 ed83d42d1ed7
child 1096 258af84e2e56
--- a/app/soc/views/helper/redirects.py	Thu Jan 29 16:12:57 2009 +0000
+++ b/app/soc/views/helper/redirects.py	Thu Jan 29 18:10:21 2009 +0000
@@ -147,6 +147,16 @@
   return result
 
 
+def getManageRedirect(entity, params):
+  """Returns the redirect for managing the given entity.
+  """
+
+  result = '/%s/manage/%s' % (
+      params['url_name'], entity.key().name())
+
+  return result
+
+
 def getSelectRedirect(entity, params):
   """Returns the pick redirect for the specified entity.
   """