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