X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a20e28809f5ca1e3f3579faeaf118fff3ecc4994..46875fdde3ecdc37bb69e892b15509132a3bf9cf:/lib/country.rb diff --git a/lib/country.rb b/lib/country.rb index ab88072ec..f6f679125 100644 --- a/lib/country.rb +++ b/lib/country.rb @@ -19,7 +19,7 @@ class Country def self.load_countries countries = {} - xml = REXML::Document.new(File.read(Rails.root.join("config", "countries.xml"))) + xml = REXML::Document.new(File.read(Rails.root.join("config/countries.xml"))) xml.elements.each("geonames/country") do |ele| code = ele.get_text("countryCode").to_s