X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/56db9ca2b7e2475cd8025630049fb4a4b824f2d9..54ded37bf2e9967f6462795eebf0b5117399391a:/lib/nominatim.rb?ds=sidebyside diff --git a/lib/nominatim.rb b/lib/nominatim.rb index 5b1c7ac32..1d2037d8d 100644 --- a/lib/nominatim.rb +++ b/lib/nominatim.rb @@ -1,4 +1,6 @@ module Nominatim + extend ActionView::Helpers::NumberHelper + def self.describe_location(lat, lon, zoom = nil, language = nil) zoom = zoom || 14 language = language || request.user_preferred_languages.join(',')