Added vehicle scaffold
This commit is contained in:
2
app/views/vehicles/_vehicle.json.jbuilder
Normal file
2
app/views/vehicles/_vehicle.json.jbuilder
Normal file
@@ -0,0 +1,2 @@
|
||||
json.extract! vehicle, :id, :license_plate, :type, :model_year, :car_brand, :model, :fuel_type, :created_at, :updated_at
|
||||
json.url vehicle_url(vehicle, format: :json)
|
||||
Reference in New Issue
Block a user