From c90cf9e5c67bf5559edfef138da5737a0feb04bb Mon Sep 17 00:00:00 2001 From: Braulio Bhavamitra Date: Thu, 14 Nov 2013 14:05:22 -0300 Subject: [PATCH] Fix crash by using method name --- app/views/catalog/index.rhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/catalog/index.rhtml b/app/views/catalog/index.rhtml index aa79305..dc55367 100644 --- a/app/views/catalog/index.rhtml +++ b/app/views/catalog/index.rhtml @@ -92,7 +92,7 @@ <% end %> <% product.price_details.each do |i| %>
-
<%= i.production_cost.name %>
+
<%= i.name %>
<%= price_span i.price, :class => 'search-product-input-price' %>
<% end %> -- libgit2 0.21.2