Module: ActiveAdmin::ResourceController::ActionBuilder::ClassMethods

Defined in:
lib/active_admin/resource_controller/action_builder.rb

Instance Method Summary collapse

Instance Method Details

#clear_collection_actions!Object



15
16
17
18
# File 'lib/active_admin/resource_controller/action_builder.rb', line 15

def clear_collection_actions!
  remove_action_methods(:collection)
  active_admin_config.clear_collection_actions!
end

#clear_member_actions!Object



10
11
12
13
# File 'lib/active_admin/resource_controller/action_builder.rb', line 10

def clear_member_actions!
  remove_action_methods(:member)
  active_admin_config.clear_member_actions!
end