Sha256: 40448059b2f7dc5517893b5d7719caa428ebaed2741fc4214454693f62637f3c

Contents?: true

Size: 768 Bytes

Versions: 19

Compression:

Stored size: 768 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/batch_action_popover"
  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

19 entries across 19 versions & 4 rubygems

Version Path
yousty-activeadmin-1.0.17.pre lib/active_admin/batch_actions.rb
yousty-activeadmin-1.0.16.pre lib/active_admin/batch_actions.rb
yousty-activeadmin-1.0.15.pre lib/active_admin/batch_actions.rb
yousty-activeadmin-1.0.14.pre lib/active_admin/batch_actions.rb
yousty-activeadmin-1.0.13.pre lib/active_admin/batch_actions.rb
yousty-activeadmin-1.0.12.pre lib/active_admin/batch_actions.rb
yousty-activeadmin-1.0.11.pre lib/active_admin/batch_actions.rb
yousty-activeadmin-1.0.10.pre lib/active_admin/batch_actions.rb
yousty-activeadmin-1.0.9.pre lib/active_admin/batch_actions.rb
yousty-activeadmin-1.0.8.pre lib/active_admin/batch_actions.rb
activeadmin-1.0.0.pre1 lib/active_admin/batch_actions.rb
yousty-activeadmin-1.0.7.pre lib/active_admin/batch_actions.rb
yousty-activeadmin-1.0.6.pre lib/active_admin/batch_actions.rb
yousty-activeadmin-1.0.5.pre lib/active_admin/batch_actions.rb
active_administration-0.0.3 lib/active_admin/batch_actions.rb
activeadministration-0.0.2 lib/active_admin/batch_actions.rb
active_administration-0.0.2 lib/active_admin/batch_actions.rb
activeadministration-0.0.1 lib/active_admin/batch_actions.rb
active_administration-0.0.1 lib/active_admin/batch_actions.rb