From 5ad4b53b30f19a582e555813e1c7e6fc905ccfc7 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Thu, 28 Apr 2016 09:12:58 -0400 Subject: [PATCH] Update index.html.erb --- app/views/customers/index.html.erb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/views/customers/index.html.erb b/app/views/customers/index.html.erb index 0eeb08b..989dac3 100644 --- a/app/views/customers/index.html.erb +++ b/app/views/customers/index.html.erb @@ -1,10 +1,9 @@

Customers


-<% @customers.each do |c| %> +<% @customers.each do |@customer| %>
- <% @customer = c.name%> <%= render :partial => 'customers/details' %> <%= button_to "Show", customer_path(c.id), method: :get %>