Skip to content

Commit

Permalink
Always show resend button when viewing an order
Browse files Browse the repository at this point in the history
Even for guest orders

Fixes spree#2318
  • Loading branch information
radar committed Dec 13, 2012
1 parent 0c5db5a commit 970fa97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/app/views/spree/admin/orders/edit.html.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<%= csrf_meta_tags %>
<% content_for :page_actions do %>
<li><%= event_links %></li>
<li><%= button_link_to t(:resend), resend_admin_order_url(@order), :method => :post, :icon => 'icon-email' if @order.user %></li>
<li><%= button_link_to t(:resend), resend_admin_order_url(@order), :method => :post, :icon => 'icon-email' %></li>
<li><%= button_link_to t(:back_to_orders_list), admin_orders_path, :icon => 'icon-arrow-left' %></li>
<% end %>

Expand Down

0 comments on commit 970fa97

Please sign in to comment.