Sha256: 029176483a610a0b45f3d0d33c26ff3fcd674a3e654f6a2e6a2777411062853c

Contents?: true

Size: 771 Bytes

Versions: 62

Compression:

Stored size: 771 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

62 entries across 62 versions & 4 rubygems

Version Path
activeadmin-0.6.6 lib/active_admin/batch_actions.rb
activeadmin-0.6.5 lib/active_admin/batch_actions.rb
activeadmin-0.6.4 lib/active_admin/batch_actions.rb
yousty-activeadmin-1.0.4.pre lib/active_admin/batch_actions.rb
yousty-activeadmin-1.0.3.pre lib/active_admin/batch_actions.rb
yousty-activeadmin-1.0.2.pre lib/active_admin/batch_actions.rb
activeadmin-0.6.3 lib/active_admin/batch_actions.rb
yousty-activeadmin-1.0.1.pre lib/active_admin/batch_actions.rb
yousty-activeadmin-1.0.0.pre lib/active_admin/batch_actions.rb
activeadmin-0.6.2 lib/active_admin/batch_actions.rb
activeadmin-0.6.1 lib/active_admin/batch_actions.rb
aa-rails4-0.6.0 lib/active_admin/batch_actions.rb
lalala-4.0.0.dev.141 vendor/deps/active_admin/lib/active_admin/batch_actions.rb
lalala-4.0.0.dev.136 vendor/deps/active_admin/lib/active_admin/batch_actions.rb
lalala-4.0.0.dev.135 vendor/deps/active_admin/lib/active_admin/batch_actions.rb
lalala-4.0.0.dev.134 vendor/deps/active_admin/lib/active_admin/batch_actions.rb
lalala-4.0.0.dev.133 vendor/deps/active_admin/lib/active_admin/batch_actions.rb
lalala-4.0.0.dev.132 vendor/deps/active_admin/lib/active_admin/batch_actions.rb
lalala-4.0.0.dev.131 vendor/deps/active_admin/lib/active_admin/batch_actions.rb
lalala-4.0.0.dev.129 vendor/deps/active_admin/lib/active_admin/batch_actions.rb