#default_actions ⇒ Object

# File 'lib/active_admin/views/index_as_table.rb', line 259defdefault_actionsraise'`default_actions` is no longer provided in ActiveAdmin 1.x. Use `actions` instead.'end

#id_column ⇒ Object

Display a column for the id

248
249
250
251
252
253
254
255
256
257

# File 'lib/active_admin/views/index_as_table.rb', line 248defid_columnraise"#{resource_class.name} as no primary_key!"unlessresource_class.primary_keycolumn(resource_class.human_attribute_name(resource_class.primary_key),sortable:resource_class.primary_key)do|resource|ifcontroller.action_methods.include?('show')link_toresource.id,resource_path(resource),class:"resource_id_link"elseresource.idendendend