X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/dae3dcf87edcfc0648cd0b93b069b0eee67d3ab7..366a9e9097e6b8ca19cd3ecb2b08db1fbc0e2274:/config/initializers/banners.rb diff --git a/config/initializers/banners.rb b/config/initializers/banners.rb index cda96e038..5c83c045d 100644 --- a/config/initializers/banners.rb +++ b/config/initializers/banners.rb @@ -1,5 +1,5 @@ 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