def add_current_user_to_menu(menu, priority = 10, html_options = {})
      if current_user_method
        menu.add id: 'current_user', priority: priority, html_options: html_options,
          label: -> { display_name current_active_admin_user },
          url:   -> { auto_url_for(current_active_admin_user) },
          if:    :current_active_admin_user?
      end
    end
def add_current_user_to_menu(menu, priority = 10, html_options = {})
      if current_user_method
        menu.add id: 'current_user', priority: priority, html_options: html_options,
          label: -> { display_name current_active_admin_user },
          url:   -> { auto_url_for(current_active_admin_user) },
          if:    :current_active_admin_user?
      end
    end
The default user session menu item

 @param [ActiveAdmin::MenuItem] menu The menu to add the logout link to
 @param [Fixnum] priority The numeric priority for the order in which it appears
 @param [Hash] html_options An options hash to pass along to link_to