lib/active_admin/batch_actions.rb in activeadmin-0.6.6 vs lib/active_admin/batch_actions.rb in activeadmin-1.0.0.pre1
- old
+ new
@@ -11,7 +11,7 @@
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
+ app.view_factory.register batch_action_selector: ActiveAdmin::BatchActions::BatchActionSelector
end