changelog shortlog tags changeset file revisions annotate raw

app/views/products/show.html.erb

revision 19: a995025031b3
parent 9:5cf82beef889
--- a/app/views/products/show.html.erb	Mon Mar 10 03:22:11 2008 +0900
+++ b/app/views/products/show.html.erb	Mon Mar 10 11:04:49 2008 +0900
@@ -9,5 +9,6 @@
 </p>
 
 
+<%= link_to 'Add to Cart', order_items_path(:order_item => { :product_id => @product.id, :quantity => 1 }), :method => :post %> |
 <%= link_to 'Edit', edit_product_path(@product) %> |
 <%= link_to 'Back', products_path %>