diff --git a/app/controllers/vehicles_controller.rb b/app/controllers/vehicles_controller.rb index 166fd16..92d97f1 100644 --- a/app/controllers/vehicles_controller.rb +++ b/app/controllers/vehicles_controller.rb @@ -38,14 +38,6 @@ class VehiclesController < ApplicationController @vehicle = Vehicle.find_by_id(params[:id]) if @vehicle @customer = @vehicle.qbo_customer.name if @vehicle.qbo_customer - - if @vehicle.vin? - @details = @vehicle.details - @style = @details['years'][0]['styles'][0]['name'] - @drive = @details['drivenWheels'] - @doors = @details['numOfDoors'] - end - else flash[:error] = "Vehicle Not Found" render :index