From 11a77043eb66f6b0e6548924a5472fffff4d0ca2 Mon Sep 17 00:00:00 2001 From: luisramos0 Date: Tue, 30 Jul 2019 12:15:13 +0100 Subject: [PATCH] Switch from Spree::Api::BaseController to Api::BaseController so that AMS is activated --- app/controllers/api/product_images_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/product_images_controller.rb b/app/controllers/api/product_images_controller.rb index 71fc9a5164..a8706f6458 100644 --- a/app/controllers/api/product_images_controller.rb +++ b/app/controllers/api/product_images_controller.rb @@ -1,5 +1,5 @@ module Api - class ProductImagesController < Spree::Api::BaseController + class ProductImagesController < BaseController respond_to :json def update_product_image