Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
activeadmin tweaks
ActiveAdmin.register Article do
index do
selectable_column
id_column
column :name, :sortable => :name do |resource|
editable_text_column resource, :name
end
column :article_type
column :created_at
column :updated_at
default_actions
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment