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

recurrent
echarp 7 years ago
parent 32e574665f
commit 7b0d142693
  1. 4
      app/models/event.rb

@ -96,6 +96,10 @@ class Event < ActiveRecord::Base
end
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].compact.join ', '
end

Loading…
Cancel
Save