X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/546250f60b923c120960e7a1ad9f8176008ce6eb..5b33f3f8e31c62bc3e5db1d5b120533c3afdde68:/config/initializers/wiki_pages.rb diff --git a/config/initializers/wiki_pages.rb b/config/initializers/wiki_pages.rb index dbaa4ddac..c679cd4e2 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"))