From 4a432481d9ce3212ab29abd025d5f4aa9acd1e40 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Wed, 3 Aug 2016 21:11:05 -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 5738d18..2c6436c 100644 --- a/app/views/customers/show.html.erb +++ b/app/views/customers/show.html.erb @@ -5,7 +5,7 @@ <%= render :partial => 'vehicles/list' %>
<%= form_tag(new_vehicle_path, :method => "get", id: "new") do %> -<%= hidden_field :customer, params[:customer], @customer %> +<%= hidden_field :customer, :customer, :value => @customer %> <%= submit_tag "New Vehicle" %> <% end %>