Your Cart
<%= render(cart.line_items) %>
Total <%= number_to_currency(cart.total_price) %>
<%= button_to 'Empty cart', cart, method: :delete, confirm: 'Are you sure?' %>