X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3d7eb387a7c3573f1a1d17df00adcaa1fb9b9fa5..6279d83260cd9a03395a73f1c3df66ffe4c9486d:/lib/nominatim.rb?ds=inline 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(',')