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:
@@ -48,6 +48,7 @@ class VehiclesController < ApplicationController
|
||||
@customer = @vehicle.customer.name if @vehicle.customer
|
||||
else
|
||||
flash[:error] = "Vehicle Not Found"
|
||||
@customers = Customer.all.order(:name)
|
||||
render :index
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user