From c3e9618f7d86d6c9b3b8ffa51f4d169c58ba35ce Mon Sep 17 00:00:00 2001 From: Ryan Bigg Date: Mon, 14 Oct 2013 15:13:44 +1100 Subject: [PATCH] [backend] Link to a shipment's order in stock_movements/index view --- backend/app/helpers/spree/admin/stock_movements_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/helpers/spree/admin/stock_movements_helper.rb b/backend/app/helpers/spree/admin/stock_movements_helper.rb index ae77e0e36d7..2f3e485846c 100644 --- a/backend/app/helpers/spree/admin/stock_movements_helper.rb +++ b/backend/app/helpers/spree/admin/stock_movements_helper.rb @@ -3,7 +3,7 @@ module Admin module StockMovementsHelper def pretty_originator(stock_movement) if stock_movement.originator.respond_to?(:number) - stock_movement.originator.number + link_to stock_movement.originator.number, [:edit, :admin, stock_movement.originator.order] else "" end