diff --git a/app/views/customers/index.html.erb b/app/views/customers/index.html.erb index 8f5e0d9..0eeb08b 100644 --- a/app/views/customers/index.html.erb +++ b/app/views/customers/index.html.erb @@ -6,7 +6,7 @@
<% @customer = c.name%> <%= render :partial => 'customers/details' %> - <%= button_to "Show", c, method: :get %> + <%= button_to "Show", customer_path(c.id), method: :get %>