Update vehicles_controller.rb

This commit is contained in:
2016-08-05 00:04:31 -04:00
committed by GitHub
parent eb039368bb
commit 8418dfc0b5

View File

@@ -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