module Spree
  module Admin
    # Need to explicitly reference namespaced ResourceController here
    # Due to the rd_resource_controller gem, which provides a top-level
    # ResourceController module, which is obviously not inheritable from.
    class AdjustmentsController < Spree::Admin::ResourceController
      belongs_to 'spree/order', :find_by => :number
      destroy.after :reload_order

      private
        def reload_order
          @order.reload
        end
    end
  end
end

module Spree
  module Admin
    class AdjustmentsController < ResourceController
      belongs_to 'spree/order', :find_by => :number
      destroy.after :reload_order

      private
        def reload_order
          @order.reload
        end
    end
  end
end

Revert "Inherit from namespaced ResourceController + explain why" This workaround is not needed anymore as rd_resource_controller is now removed
Revert "Inherit from namespaced ResourceController + explain why"
This workaround is not needed anymore as rd_resource_controller is now removed

This reverts commit 3959c7b9f008e6653e79674a3af1f907cf90cbb9.
