]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/wiki_pages.rb
Don't order by id when getting last records
[rails.git] / config / initializers / wiki_pages.rb
index dbaa4ddacb55d2e42a13e5c2e87bf2d07ada8e51..6720ee77886fa7ad892ded0b7133bf6710a1e13b 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"))