app/soc/views/helper/redirects.py
changeset 858 e79e7a22326f
parent 797 0bc3f950d7cf
child 885 f46b689e19eb
--- a/app/soc/views/helper/redirects.py	Tue Jan 20 23:13:03 2009 +0000
+++ b/app/soc/views/helper/redirects.py	Wed Jan 21 00:27:39 2009 +0000
@@ -56,6 +56,15 @@
 
   return '/%s/show/%s' % (
       params['url_name'], entity.key().name())
+ 
+ 
+def getExportRedirect(entity, params):
+  """Returns the export redirect for the specified entity.
+  """
+
+  return '/%s/export/%s' % (
+      params['url_name'], entity.key().name())
+
   
 def getReviewRedirect(entity, params):
   """Returns the redirect to review the specified entity