X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/325aa7ecdf75b0995efebedb7bc288ede910894d..6efdcaa9930bd2e392294304095ae31a91b8c4ab:/app/models/trace.rb diff --git a/app/models/trace.rb b/app/models/trace.rb index 0307b5f65..de9bda661 100644 --- a/app/models/trace.rb +++ b/app/models/trace.rb @@ -110,6 +110,7 @@ class Trace < ActiveRecord::Base tp.lat = point['latitude'].to_f tp.lng = point['longitude'].to_f tp.altitude = point['altitude'].to_f + tp.timestamp = point['timestamp'] tp.user_id = user.id tp.gpx_id = id tp.trackid = point['segment'].to_i