lib/active_admin/batch_actions.rb in activeadmin-3.2.5 vs lib/active_admin/batch_actions.rb in activeadmin-4.0.0.beta1
- old
+ new
@@ -5,13 +5,8 @@
# 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