module ActiveAdmin::BatchActions::ResourceExtension

def batch_actions

Returns:
  • (Array) - The set of batch actions for this resource
def batch_actions
  batch_actions_enabled? ? @batch_actions.values.sort : []
end