From 05017dcc4fade6aa97a0aaf31b4d7ec443282e83 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Thu, 4 Aug 2016 09:45:39 -0400 Subject: [PATCH] Update show.html.erb --- app/views/customers/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/customers/show.html.erb b/app/views/customers/show.html.erb index ed39199..d35e336 100644 --- a/app/views/customers/show.html.erb +++ b/app/views/customers/show.html.erb @@ -4,7 +4,7 @@
<%= render :partial => 'vehicles/list' %>
-<%= button_to "New Customer", [:new, @cutomer, Vehicle.new], method: :get %> +<%= button_to "New Customer", new_customer_vehicle_path(@customer), method: :get %>

<%= render :partial => 'issues/list_simple', locals: {issues: @issues} %>