mirror of
https://github.com/rickbarrette/redmine_qbo_vehicles.git
synced 2026-04-02 07:01:59 -04:00
moved vin decoding into a job
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user