lib/active_admin/batch_actions.rb in activeadmin-4.0.0.beta12 vs lib/active_admin/batch_actions.rb in activeadmin-4.0.0.beta13
- old
+ new
@@ -1,12 +1,12 @@
# frozen_string_literal: true
ActiveAdmin.before_load do |app|
- require "active_admin/batch_actions/resource_extension"
- require "active_admin/batch_actions/controller"
+ require_relative "batch_actions/resource_extension"
+ require_relative "batch_actions/controller"
# Add our Extensions
ActiveAdmin::Resource.send :include, ActiveAdmin::BatchActions::ResourceExtension
ActiveAdmin::ResourceController.send :include, ActiveAdmin::BatchActions::Controller
- require "active_admin/batch_actions/views/batch_action_form"
- require "active_admin/batch_actions/views/selection_cells"
+ require_relative "batch_actions/views/batch_action_form"
+ require_relative "batch_actions/views/selection_cells"
end