app/soc/views/helper/redirects.py
changeset 1238 af56ae7397ab
parent 1229 ec3768cbf369
child 1254 6be0286ef003
equal deleted inserted replaced
1237:b5bf2aa0f3f9 1238:af56ae7397ab
    91   """
    91   """
    92   
    92   
    93   return '/%s/review/%s' % (
    93   return '/%s/review/%s' % (
    94       params['url_name'], entity.key().name())
    94       params['url_name'], entity.key().name())
    95 
    95 
       
    96 def getReviewOverviewRedirect(entity, params):
       
    97   """Returns the redirect to the review_overview using the 
       
    98      keyname of the specified entity.
       
    99   """
       
   100   return '/%s/review_overview/%s' % (
       
   101       params['url_name'], entity.key().name())
    96 
   102 
    97 def getCreateRequestRedirect(entity, params):
   103 def getCreateRequestRedirect(entity, params):
    98   """Returns the create request redirect for the specified entity.
   104   """Returns the create request redirect for the specified entity.
    99   """
   105   """
   100 
   106