Skip to content

Commit

Permalink
fix route for editing image in bo
Browse files Browse the repository at this point in the history
  • Loading branch information
loicginoux committed Mar 12, 2018
1 parent b452e0e commit a138a5e
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 a138a5e

Please sign in to comment.