Update vehicle.rb

This commit is contained in:
2017-11-13 22:17:03 -05:00
committed by GitHub
parent 0b96a1412c
commit 118812f16f

View File

@@ -29,7 +29,7 @@ class Vehicle < ActiveRecord::Base
if year.nil? or make.nil? or model.nil?
return "#{vin}"
else
return "#{year} #{make} #{model}"
return "##{id} #{year} #{make} #{model}"
end
end