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 %>