Update vehicles_controller.rb

This commit is contained in:
2016-04-22 09:32:25 -04:00
parent dfd7dfcf79
commit f936e61684

View File

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