old_contents: '''
  Created on Aug 2, 2010
  
  @author: jnaous
  '''
  from expedient.common.permissions.views import request_permission
  
  def request_permission_wrapper(*args, **kwargs):
      return request_permission(
          template="permissionmgmt/request_permission.html")(*args, **kwargs)
  
new_contents: '''
  Created on Aug 2, 2010
  
  @author: jnaous
  '''
  from expedient.common.permissions.views import request_permission
  
  def request_permission_wrapper(*args, **kwargs):
      return request_permission(
          always_redirect_to=\
              lambda request: \
                  request.session.get("breadcrumbs", [(None ,"/")])[-1][1],
          template="permissionmgmt/request_permission.html")(*args, **kwargs)
  
subject: add a always_redirect_to using a callable