app/controllers/ucb_rails_user/concerns/controller_methods.rb
# Returns an instance of UCB::LDAP::Person if there is a logged in user
#
# @return [UCB::LDAP::Person] if user logged in
# @return [nil] if user not logged in
Returns an instance of UCB::LDAP::Person if there is a logged in user
Returns an instance of UCB :: LDAP :: Person if there is a logged in user
def current_ldap_person
    if logged_in?
      @current_ldap_person ||= begin
        logger.debug 'recalc of current_ldap_person'
        user_session_manager.people_ou_entry(session[:uid])
      end
    end
  end
def current_ldap_person if logged_in? @current_ldap_person ||= begin logger . debug 'recalc of current_ldap_person' user_session_manager . people_ou_entry ( session [ :uid ] ) end end end
Returns an instance of UCB::LDAP::Person if there is a logged in user
Returns an instance of UCB :: LDAP :: Person if there is a logged in user
if user logged in
if user logged in
UCB::LDAP::Person
if user not logged in
if user not logged in
nil