Skip to content

Commit

Permalink
[backend] Link to a shipment's order in stock_movements/index view
Browse files Browse the repository at this point in the history
  • Loading branch information
radar committed Oct 14, 2013
1 parent 8236b35 commit c3e9618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/app/helpers/spree/admin/stock_movements_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c3e9618

Please sign in to comment.