-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Actions
bbenezech edited this page Jan 17, 2012
·
33 revisions
Before 01/17/2012, actions used to be standard and hard-coded. A community request was that they could be added/removed/customized.
This is now fully possible.
By default, to keep existing installation safe, all actions are added as they used to be.
Default is equivalent to:
# config/initilizers/rails_admin.rb
RailsAdmin.config do |config|
config.actions do
dashboard
index
show
new
edit
export
delete
bulk_delete
history_show
history_index
show_in_app
end
end
You can copy that block and remove/add any action, or pass a block to customize it. See specific action documentation for details.