diff --git a/lib/spree/core/controller_helpers/respond_with.rb b/lib/spree/core/controller_helpers/respond_with.rb index 6b3e7129ca..0e3e7ef56b 100644 --- a/lib/spree/core/controller_helpers/respond_with.rb +++ b/lib/spree/core/controller_helpers/respond_with.rb @@ -1,5 +1,7 @@ # frozen_string_literal: true +require 'spree/responder' + module ActionController class Base def respond_with(*resources, &block)