tap/app/views/orders/_order.html.erb

3 lines
106 B
Text
Raw Normal View History

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