Module: ActiveAdmin::Views::Pages::Show::DefaultMainContent

Included in:
ActiveAdmin::Views::Pages::Show
Defined in:
lib/active_admin/views/pages/show.rb

Instance Method Summary collapse

Instance Method Details

#default_attribute_table_rowsObject


56
57
58
# File 'lib/active_admin/views/pages/show.rb', line 56

def default_attribute_table_rows
  active_admin_config.resource_columns
end

#default_main_content(&block) ⇒ Object


52
53
54
# File 'lib/active_admin/views/pages/show.rb', line 52

def default_main_content(&block)
  attributes_table(*default_attribute_table_rows, &block)
end