diff --git a/app/controllers/vehicles_controller.rb b/app/controllers/vehicles_controller.rb index 63bd057..441471b 100644 --- a/app/controllers/vehicles_controller.rb +++ b/app/controllers/vehicles_controller.rb @@ -38,9 +38,6 @@ class VehiclesController < ApplicationController def new @vehicle = Vehicle.new @customers = Customer.all.order(:name) - if params[:customer] - @customer = Customer.find_by_id(params[:customer]) - end end # create a new vehicle