<%= notice %>

Your Pragmatic Catalog

<% cache @products do %> <% @products.each do |product| %> <% cache product do %>
<%= image_tag(product.image_url) %>

<%= product.title %>

<%= sanitize(product.description) %>
<%= number_to_currency(product.price) %> <%= button_to 'Add To Cart', line_items_path(product_id: product) %>
<% end %> <% end %> <% end %>