mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Fix undefined constant Spree::Responder
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user