class ActiveAdmin::Router

def define_actions(config)

Defines member and collection actions
def define_actions(config)
  router.member do
    config.member_actions.each { |action| build_action(action) }
  end
  router.collection do
    config.collection_actions.each { |action| build_action(action) }
    router.post :batch_action if config.batch_actions_enabled?
  end
end