moved vin decoding into a job

This commit is contained in:
ricky committed 2026-03-25 22:30:02 -04:00
1 parent 030340b35e
commit 89dc3cd5f4
8 files changed
+206 -86

No files matched your search

+7
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