Use ActionController::Base for Api::BaseController

It looks like ActionController::Metal does not play nicely with the big changes to controller responders: https://guides.rubyonrails.org/upgrading_ruby_on_rails.html#responders
This commit is contained in:
Matt-Yorkley
2020-11-04 18:38:32 +00:00
parent 58350ed338
commit 3cba9a16aa

View File

@@ -11,6 +11,7 @@ module Api
include Spree::Core::ControllerHelpers::SSL
include ::ActionController::Head
self.responder = ApplicationResponder
respond_to :json
attr_accessor :current_api_user