diff --git a/app/views/invoices/_show.html.erb b/app/views/invoices/_show.html.erb index e4aebec..fb042e6 100644 --- a/app/views/invoices/_show.html.erb +++ b/app/views/invoices/_show.html.erb @@ -95,7 +95,7 @@ - <%= @invoice.invoice_products.each_with_index do |invoice_product, index| %> + <% @invoice.invoice_products.each_with_index do |invoice_product, index| %> <%= index + 1 %> <%= invoice_product.product.name %>