class ActiveAdmin::Views::Pages::Index

def title

def title
  case config[:title]
  when Proc then controller.instance_eval(&config[:title])
  when String then config[:title]
  else
    active_admin_config.plural_resource_label
  end
end