app/controllers/application_controller.rb
# BCSEC legacy method. Kept to give us ability to override devises #current_user.
BCSEC legacy method. Kept to give us ability to override devises #current_user.
BCSEC legacy method . Kept to give us ability to override devises #current_user .
def session_user
    @session_user ||= current_user
  rescue
    nil
  end
def session_user @session_user ||= current_user rescue nil end
BCSEC legacy method.
BCSEC legacy method .