X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9afb35449b066fdef6b4af3b63e30e7f4eb4c5cf..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