<% if notice %>

<%= notice %>

<% end %>

Your Pragmatic Catalog

<% cache ['store', Product.latest] do %> <% @products.each do |product| %> <% cache ['entry', 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 %>