X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/546250f60b923c120960e7a1ad9f8176008ce6eb..6e5e25736631c1b3f8980bdb5ab5bdbdd69f0843:/config/initializers/wiki_pages.rb diff --git a/config/initializers/wiki_pages.rb b/config/initializers/wiki_pages.rb index dbaa4ddac..6720ee778 100644 --- a/config/initializers/wiki_pages.rb +++ b/config/initializers/wiki_pages.rb @@ -1 +1 @@ -WIKI_PAGES = YAML.load_file("#{RAILS_ROOT}/config/wiki_pages.yml") +WIKI_PAGES = YAML.load_file(Rails.root.join("config/wiki_pages.yml"))