Fix undefined constant Spree::Responder

This commit is contained in:
Matt-Yorkley
2020-11-05 10:55:33 +00:00
parent 3c0172c507
commit e155b00ab9

View File

@@ -27,7 +27,7 @@ module ActionController
# The action name is needed for processing
options[:action_name] = action_name.to_sym
# If responder is not specified then pass in Spree::Responder
(options.delete(:responder) || Spree::Responder).call(self, resources, options)
(options.delete(:responder) || ::Spree::Responder).call(self, resources, options)
end
end