mirror of
https://github.com/rickbarrette/redmine_qbo_vehicles.git
synced 2026-10-03 17:10:43 -04:00
moved vin decoding into a job
This commit is contained in:
1 parent
030340b35e
commit
89dc3cd5f4
8 files changed
+206
-86
No files matched your search
@@ -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