class ActiveAdmin::Views::AttributesTable
def header_content_for(attr)
def header_content_for(attr) if @resource_class.respond_to?(:human_attribute_name) @resource_class.human_attribute_name(attr, default: attr.to_s.titleize) else attr.to_s.titleize end end