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


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

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

#clear_member_actions!Object


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

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