mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-04 01:00:44 -04:00
Update vehicles_controller.rb
This commit is contained in:
1 parent
56c895388d
commit
11da8e7a43
1 file changed
+1
-1
@@ -110,7 +110,7 @@ class VehiclesController < ApplicationController
|
|||||||
|
|
||||||
# returns a dynamic list of vehicles owned by a customer
|
# returns a dynamic list of vehicles owned by a customer
|
||||||
def update_vehicles
|
def update_vehicles
|
||||||
@vehicles = Customer.find_by_id(params[:customer].to_i).vehicles
|
@vehicles = Customer.find_by_id(params[:customer_id].to_i).vehicles
|
||||||
respond_to do |format|
|
respond_to do |format|
|
||||||
format.js
|
format.js
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in new issue
Block a user