mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 17:04:23 -05:00
Update vehicles_controller.rb
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user