Skip to content

Commit

Permalink
Fix duplicated Shipments breadcrumb
Browse files Browse the repository at this point in the history
  • Loading branch information
jhawthorn committed Feb 17, 2017
1 parent 9bd861f commit 6efe21b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 0 additions & 3 deletions backend/app/views/spree/admin/orders/_shipment.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
<% admin_breadcrumb(plural_resource_name(Spree::Shipment)) %>


<%
manifest_items = Spree::ShippingManifest.new(
inventory_units: shipment.inventory_units.where(carton_id: nil),
Expand Down
2 changes: 2 additions & 0 deletions backend/app/views/spree/admin/orders/edit.html.erb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<% admin_breadcrumb(plural_resource_name(Spree::Shipment)) %>

<% content_for :page_actions do %>
<% if can?(:fire, @order) %>
<li><%= event_links %></li>
Expand Down

0 comments on commit 6efe21b

Please sign in to comment.