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:
@@ -24,7 +24,9 @@ class VehiclesController < ApplicationController
|
||||
# return an HTML form for creating a new vehicle
|
||||
def new
|
||||
@vehicle = Vehicle.new
|
||||
@customers = Customer.without_callback(:initialize, :after, :pull).all.order(:name)
|
||||
Customer.without_callback(:initialize, :after, :pull) do
|
||||
@customers = Customer.all.order(:name)
|
||||
end
|
||||
end
|
||||
|
||||
# create a new vehicle
|
||||
|
||||
Reference in New Issue
Block a user