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:
@@ -25,7 +25,7 @@ class VehiclesController < ApplicationController
|
||||
def new
|
||||
@vehicle = Vehicle.new
|
||||
Customer.skip_callback(:initialize, :after, :get_details)
|
||||
@customers = Customer.order(:name)
|
||||
@customers = Customer.all.order(:name)
|
||||
Customer.set_callback(:initialize, :after, :get_details)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user