Update vehicles_controller.rb

This commit is contained in:
2016-04-22 09:10:49 -04:00
parent 7267bac43d
commit 48114de428

View File

@@ -41,7 +41,7 @@ class VehiclesController < ApplicationController
# return an HTML form for editing a vehicle
def edit
@vehicle = Vehicle.find_by_id(params[:id])
@customer = @vehicle.qbo_customer
@customer = @vehicle.qbo_customer.id
end
# update a specific vehicle