Until OSM reverse geocoding understands the new French regions, we do not use regions' names...

This commit is contained in:
echarp 2016-01-18 17:56:40 +01:00
parent 32e574665f
commit 7b0d142693
1 changed files with 4 additions and 0 deletions

View File

@ -96,6 +96,10 @@ class Event < ActiveRecord::Base
end end
def full_address def full_address
<<<<<<< 32e574665f95c79a8ce3a538d8a7d03116872662
=======
# Temporary solution until OSM reverse geocoding can use the new regions
>>>>>>> Until OSM reverse geocoding understands the new French regions, we do not use regions' names...
# [address, city, region.try(:name)].compact.join ', ' # [address, city, region.try(:name)].compact.join ', '
[address, city].compact.join ', ' [address, city].compact.join ', '
end end