module ActiveAdmin::Resource::Menu
def navigation_menu_name
def navigation_menu_name case @navigation_menu_name ||= DEFAULT_MENU when Proc controller.instance_exec(&@navigation_menu_name).to_sym else @navigation_menu_name end end
def navigation_menu_name case @navigation_menu_name ||= DEFAULT_MENU when Proc controller.instance_exec(&@navigation_menu_name).to_sym else @navigation_menu_name end end