]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/wiki_pages.rb
Move more api-only methods into api_controller
[rails.git] / config / initializers / wiki_pages.rb
index dbaa4ddacb55d2e42a13e5c2e87bf2d07ada8e51..c679cd4e2df24bf9aa9b42f14531f8ae08f253e5 100644 (file)
@@ -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"))