From 48114de428d67cbeefa572da158f91d526d8f3fb Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Fri, 22 Apr 2016 09:10:49 -0400 Subject: [PATCH] Update vehicles_controller.rb --- app/controllers/vehicles_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/vehicles_controller.rb b/app/controllers/vehicles_controller.rb index b0401b5..97d111c 100644 --- a/app/controllers/vehicles_controller.rb +++ b/app/controllers/vehicles_controller.rb @@ -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