Skip to content

Commit

Permalink
Merge pull request #2625 from loicginoux/fix_update_image_text_bo
Browse files Browse the repository at this point in the history
fix path when editing image alternative text in backoffice
  • Loading branch information
gmacdougall authored Apr 18, 2018
2 parents 16c7ca2 + a138a5e commit ce02135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/app/views/spree/admin/images/_image_row.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<td class="actions">
<% 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'} %>
Expand Down

0 comments on commit ce02135

Please sign in to comment.