class ActiveAdmin::Views::Pages::Index

def render_blank_slate

def render_blank_slate
  blank_slate_content = I18n.t("active_admin.blank_slate.content", :resource_name => active_admin_config.plural_resource_label)
  if controller.action_methods.include?('new')
    blank_slate_content += " " + link_to(I18n.t("active_admin.blank_slate.link"), new_resource_path)
  end
  insert_tag(view_factory.blank_slate, blank_slate_content)
end