Sha256: 1692c992569edae12214d85eee3ceea8f53d61039bf51698d644d0050285fdcf

Contents?: true

Size: 702 Bytes

Versions: 53

Compression:

Stored size: 702 Bytes

Contents

ActiveAdmin.before_load do |app|
  require "active_admin/batch_actions/resource_extension"
  require "active_admin/batch_actions/controller"

  # Add our Extensions
  ActiveAdmin::Resource.send :include, ActiveAdmin::BatchActions::ResourceExtension
  ActiveAdmin::ResourceController.send :include, ActiveAdmin::BatchActions::Controller

  # Require all the views
  require "active_admin/batch_actions/views/batch_action_form"
  require "active_admin/batch_actions/views/selection_cells"
  require "active_admin/batch_actions/views/batch_action_selector"

  # Register the views with the view factory
  app.view_factory.register batch_action_selector: ActiveAdmin::BatchActions::BatchActionSelector
end

Version data entries

53 entries across 53 versions & 6 rubygems

Version Path
activeadmin-rails-1.7.1 lib/active_admin/batch_actions.rb
activeadmin-rails-1.7.0 lib/active_admin/batch_actions.rb
activeadmin-rb-1.6.0 lib/active_admin/batch_actions.rb
date_n_time_picker_activeadmin-0.1.2 vendor/bundle/ruby/2.6.0/gems/activeadmin-2.9.0/lib/active_admin/batch_actions.rb
date_n_time_picker_activeadmin-0.1.1 vendor/bundle/ruby/2.6.0/gems/activeadmin-2.9.0/lib/active_admin/batch_actions.rb
activeadmin-rb-1.5.2 lib/active_admin/batch_actions.rb
activeadmin-2.9.0 lib/active_admin/batch_actions.rb
activeadmin-2.8.1 lib/active_admin/batch_actions.rb
activeadmin-2.8.0 lib/active_admin/batch_actions.rb
activeadmin-rb-1.5.1 lib/active_admin/batch_actions.rb
activeadmin-2.7.0 lib/active_admin/batch_actions.rb
activeadmin-2.6.1 lib/active_admin/batch_actions.rb
activeadmin-2.6.0 lib/active_admin/batch_actions.rb
activeadmin-2.5.0 lib/active_admin/batch_actions.rb
activeadmin-2.4.0 lib/active_admin/batch_actions.rb
activeadmin-2.3.1 lib/active_admin/batch_actions.rb
activeadmin-2.3.0 lib/active_admin/batch_actions.rb
activeadmin-2.2.0 lib/active_admin/batch_actions.rb
activeadmin-2.1.0 lib/active_admin/batch_actions.rb
activeadmin-2.0.0 lib/active_admin/batch_actions.rb