--- 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