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



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

def default_attribute_table_rows
  active_admin_config.resource_columns
end

#default_main_content(&block) ⇒ Object



47
48
49
# File 'lib/active_admin/views/pages/show.rb', line 47

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