Skip to content

Commit

Permalink
Merge pull request #4061 from nebulab/spaghetticode/fix-cancel-link
Browse files Browse the repository at this point in the history
Fix "Cancel" URL link on reimbursement edit page
  • Loading branch information
kennyadsl authored May 17, 2021
2 parents a8e807e + eaf841c commit 6d5440f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/app/views/spree/admin/reimbursements/edit.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
<%= button_to [:perform, :admin, @order, @reimbursement], { class: 'button btn btn-primary', method: 'post' } do %>
<%= t('spree.reimburse') %>
<% end %>
<%= link_to t('spree.actions.cancel'), url_for([:admin, @order, @reimbursement.customer_return]), class: 'btn btn-default' %>
<%= link_to t('spree.actions.cancel'), url_for([:edit, :admin, @order, @reimbursement.customer_return]), class: 'btn btn-default' %>
<% end %>
</div>
</fieldset>

0 comments on commit 6d5440f

Please sign in to comment.