Skip to content

Commit

Permalink
Fix admin user order history table
Browse files Browse the repository at this point in the history
A small typo results in an error when viewing this table if the user has
any orders.
  • Loading branch information
Sinetheta committed Sep 18, 2017
1 parent 1c0d0bb commit db11405
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/app/views/spree/admin/users/orders.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
<td>
<% if order.shipment_state %>
<span class="pill pill-<%= order.shipment_state %>">
<%= Spree.t(@order.shipment_state, scope: :shipment_states) %>
<%= Spree.t(order.shipment_state, scope: :shipment_states) %>
</span>
<% end %>
</td>
Expand Down

0 comments on commit db11405

Please sign in to comment.