From 5242ed5a94901a18defb5e30e421c977d3b034e0 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Wed, 27 Apr 2016 09:03:59 -0400 Subject: [PATCH] Update index.html.erb --- app/views/customers/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 %>