app/views/orders/_line_item.html.erb in spree-0.6.0 vs app/views/orders/_line_item.html.erb in spree-0.7.0
- old
+ new
@@ -4,10 +4,11 @@
<%= small_image(line_item.variant.product) %>
</td>
<td valign="top">
<%= link_to variant.product.name, product_path(variant.product) %>
<%= variant_options variant %><br/>
- <%= truncate(variant.product.description, length = 100, truncate_string = "...") %>
+ <%= truncate(variant.product.description, :length => 100, :omission => "...") %>
+
</td>
<td valign="top" width="75">
<%= product_price(line_item) %>
</td>
<td valign="top" width="50">