Update vehicles_controller.rb

This commit is contained in:
2016-04-27 13:52:32 -04:00
parent 933a0bb12d
commit 55f6666328

View File

@@ -42,7 +42,7 @@ class VehiclesController < ApplicationController
if @vehicle.vin?
@details = @vehicle.details
@style = @details['years'][0]['styles'][0]['name']
@drive = @details['vehicle_drivenWheels']
@drive = @details['drivenWheels']
@doors = @details['numOfDoors']
end