mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 17:04:23 -05:00
Removed unused method update_vehicles
This commit is contained in:
@@ -102,15 +102,6 @@ class VehiclesController < ApplicationController
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# returns a dynamic list of vehicles owned by a customer
|
|
||||||
def update_vehicles
|
|
||||||
@vehicles = Customer.find_by(customer_id: params[:customer_id].to_i).vehicles
|
|
||||||
respond_to do |format|
|
|
||||||
format.html { render(:text => "not implemented") }
|
|
||||||
format.js
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def only_one_non_zero?( array )
|
def only_one_non_zero?( array )
|
||||||
|
|||||||
Reference in New Issue
Block a user