tap/app/views/orders/_order.html.erb
2015-01-15 00:39:34 +01:00

2 lines
106 B
Text

<%= order.created_at %>
<%= simple_format(products.map { |p| pluralize(p.count, p.name) }.to_sentence) %>