diff --git a/app/views/customers/show.html.erb b/app/views/customers/show.html.erb index e7a610c..5a4a58b 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, :id => @customer.id %> +<%= hidden_field :customer => @customer %> <%= submit_tag "New Vehicle" %> <% end %>