X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6ca26591df5989c435b12c26222cba15d9233078..289ab7c19d3fbce8639282ae6c9611374ec43760:/lib/osm.rb diff --git a/lib/osm.rb b/lib/osm.rb index 704bc099c..eaee7c328 100644 --- a/lib/osm.rb +++ b/lib/osm.rb @@ -530,7 +530,7 @@ module OSM def self.legal_text_for_country(country_code) file_name = File.join(RAILS_ROOT, "config", "legales", country_code.to_s + ".yml") - file_name = File.join(RAILS_ROOT, "config", "legales", APP_CONFIG['default_legale'] + ".yml") unless File.exist? file_name + file_name = File.join(RAILS_ROOT, "config", "legales", DEFAULT_LEGALE + ".yml") unless File.exist? file_name YAML::load_file(file_name) end end