moved vin decoding into a job

This commit is contained in:
2026-03-25 22:30:02 -04:00
parent 030340b35e
commit 89dc3cd5f4
8 changed files with 206 additions and 86 deletions

View File

@@ -76,6 +76,13 @@ class VehiclesController < ApplicationController
end
end
def status
vehicle = Vehicle.find(params[:id])
render json: {
decoded: vehicle.vin_decoded
}
end
# return an HTML form for editing a vehicle
def edit
begin