<%= notice %>

Products

<% @products.each do |product| %> <% end %>
Name Description Price
<%= product.name %> <%= product.description %> <%= product.price %> <%= link_to 'Show', product %> <%= link_to 'Edit', edit_product_path(product) %> <%= link_to 'Destroy', product, method: :delete, data: { confirm: 'Are you sure?' } %>

<%= link_to 'New Product', new_product_path %>