OSDN Git Service

カートの画像が大きすぎたのを修正
authorTaro Matsuzawa <tmatsuzawa@kbmj.com>
Mon, 10 May 2010 07:59:58 +0000 (16:59 +0900)
committerTaro Matsuzawa <tmatsuzawa@kbmj.com>
Mon, 10 May 2010 07:59:58 +0000 (16:59 +0900)
app/views/cart/_set_delivery_each_retailer.html.erb
app/views/cart/_set_point_each_retailer.html.erb

index e3142e6..fd09a72 100644 (file)
@@ -30,7 +30,7 @@
       </tr>
       <% carts.each do |cart| %>
         <tr>
-          <td><%= link_to_product_image(cart.product_style.product :small) %></td>
+          <td><%= link_to_product_image(cart.product_style.product, :small) %></td>
           <td><%=h cart.product_style.product.name %></td>
           <td><%= number_with_delimiter cart.product_style.sell_price %>円</td>
           <td><%= number_with_delimiter cart.quantity %>個</td>
index 0b28eef..ea1f09c 100644 (file)
@@ -8,7 +8,7 @@
       </tr>
       <% carts.each do |cart| %>
         <tr>
-          <td><%= link_to_product_image(cart.product_style.product :small) %></td>
+          <td><%= link_to_product_image(cart.product_style.product, :small) %></td>
           <td><%=h cart.product_style.product.name %></td>
           <td><%= number_with_delimiter cart.product_style.sell_price %>円</td>
           <td><%= number_with_delimiter cart.quantity %>個</td>