]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/banners.rb
Update to iD v2.4.0
[rails.git] / config / initializers / banners.rb
index cda96e038018e56263b3c836ea00850661534c3b..5c83c045d777266178e66ce2f19d9e61fc470005 100644 (file)
@@ -1,5 +1,5 @@
 begin
 begin
-  BANNERS = YAML.load_file("#{Rails.root}/config/banners.yml").deep_symbolize_keys
+  BANNERS = YAML.load_file(Rails.root.join("config", "banners.yml")).deep_symbolize_keys
 rescue
   BANNERS = {}.freeze
 end
 rescue
   BANNERS = {}.freeze
 end