X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cfbdd3f7e1c688e2c875ded9fd847fcc1c3a4caf..ffe8dbaa2305511cb5d4e98d28afa492943ff2bf:/app/models/tracepoint.rb diff --git a/app/models/tracepoint.rb b/app/models/tracepoint.rb index e0fcfbd97..1d9f1bd6b 100644 --- a/app/models/tracepoint.rb +++ b/app/models/tracepoint.rb @@ -25,7 +25,7 @@ class Tracepoint < ActiveRecord::Base self.latitude = (l * 10000000).round end - def lng=(l) + def lon=(l) self.longitude = (l * 10000000).round end