module ActiveAdmin::BatchActions::Controller

def action_present?

def action_present?
  params[:batch_action].present? && current_batch_action
end