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:
@@ -54,6 +54,7 @@ class VehiclesController < ApplicationController
|
||||
def edit
|
||||
begin
|
||||
@vehicle = Vehicle.find_by_id(params[:id])
|
||||
@customer = @vehicle.customer.id
|
||||
Customer.without_callback(:initialize, :after, :pull) do
|
||||
@customers = Customer.all.order(:name)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user