Andrew says:

I changed this line:


<%= image_tag(product.image_url) %>

... to …


<%= link_to(image_tag(product.image_url), line_items_path(:product_id => product), html_options = {:method => :post}) %>