From a138a5ee3101bb59e88612ba8c35c08c7276f45a Mon Sep 17 00:00:00 2001 From: loic Date: Mon, 12 Mar 2018 12:13:49 +0100 Subject: [PATCH] fix route for editing image in bo --- backend/app/views/spree/admin/images/_image_row.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/views/spree/admin/images/_image_row.html.erb b/backend/app/views/spree/admin/images/_image_row.html.erb index 636d29be072..f80fcb8320b 100644 --- a/backend/app/views/spree/admin/images/_image_row.html.erb +++ b/backend/app/views/spree/admin/images/_image_row.html.erb @@ -38,7 +38,7 @@ <% if can?(:update, image) %> - <%= link_to_with_icon 'check', t('spree.actions.save'), api_variant_image_path(@product, image), no_text: true, data: {action: 'save'} %> + <%= link_to_with_icon 'check', t('spree.actions.save'), api_product_image_path(@product, image), no_text: true, data: {action: 'save'} %> <%= link_to_with_icon 'cancel', t('spree.actions.cancel'), nil, no_text: true, data: {action: 'cancel'} %>