Removed unused method update_vehicles

This commit is contained in:
2017-03-31 16:23:42 -04:00
committed by GitHub
parent a48840ddfb
commit 06050bd139

View File

@@ -102,15 +102,6 @@ class VehiclesController < ApplicationController
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
def only_one_non_zero?( array )