app/soc/views/helper/redirects.py
changeset 1065 b661dc8ffd5f
parent 1032 ed83d42d1ed7
child 1096 258af84e2e56
equal deleted inserted replaced
1064:4f1d179f39ae 1065:b661dc8ffd5f
   141   """Returns the redirect for processing the specified request entity.
   141   """Returns the redirect for processing the specified request entity.
   142   """
   142   """
   143 
   143 
   144   result = '/%s/process_request/%s/%s' % (
   144   result = '/%s/process_request/%s/%s' % (
   145       entity.role, entity.scope_path, entity.link_id)
   145       entity.role, entity.scope_path, entity.link_id)
       
   146 
       
   147   return result
       
   148 
       
   149 
       
   150 def getManageRedirect(entity, params):
       
   151   """Returns the redirect for managing the given entity.
       
   152   """
       
   153 
       
   154   result = '/%s/manage/%s' % (
       
   155       params['url_name'], entity.key().name())
   146 
   156 
   147   return result
   157   return result
   148 
   158 
   149 
   159 
   150 def getSelectRedirect(entity, params):
   160 def getSelectRedirect(entity, params):