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