Commit 1191fe7b

mo khan <mo@mokhan.ca>
2014-10-29 03:59:28
remove category from product listing page.
1 parent a3cff5a
Changed files (1)
app
views
app/views/products/_index.html.erb
@@ -2,9 +2,7 @@
   <tbody>
   <% @products.each do |product| %>
     <tr>
-      <td>
-        <%= link_to product.item_attributes.title, product_path(product.asin) %> is made by <%= product.item_attributes.manufacturer %> in category <%= product.item_attributes.product_group %>
-      </td>
+      <td> <%= link_to product.item_attributes.title, product_path(product.asin) %> by <%= product.item_attributes.manufacturer %> </td>
       <td> <%= link_to 'View on Amazon', product.detail_page_url, class: 'btn', target: "_blank" %> </td>
     </tr>
   <% end %>