app/soc/views/helper/redirects.py
changeset 858 e79e7a22326f
parent 797 0bc3f950d7cf
child 885 f46b689e19eb
equal deleted inserted replaced
857:9767c1afe494 858:e79e7a22326f
    54   """Returns the public redirect for the specified entity.
    54   """Returns the public redirect for the specified entity.
    55   """
    55   """
    56 
    56 
    57   return '/%s/show/%s' % (
    57   return '/%s/show/%s' % (
    58       params['url_name'], entity.key().name())
    58       params['url_name'], entity.key().name())
       
    59  
       
    60  
       
    61 def getExportRedirect(entity, params):
       
    62   """Returns the export redirect for the specified entity.
       
    63   """
       
    64 
       
    65   return '/%s/export/%s' % (
       
    66       params['url_name'], entity.key().name())
       
    67 
    59   
    68   
    60 def getReviewRedirect(entity, params):
    69 def getReviewRedirect(entity, params):
    61   """Returns the redirect to review the specified entity
    70   """Returns the redirect to review the specified entity
    62   """
    71   """
    63   
    72