X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5fe5777a58751e3626f645d57dafb0dd854586ec..daf6093f2f4bd78c9d24ade13b6a6e46698b77ff:/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(',')