X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/dbd88d893f3c3fce9cafd666b94396988646d81f..3d37044b67bfff18054682de8380bb3110d486d2:/config/initializers/banners.rb?ds=sidebyside diff --git a/config/initializers/banners.rb b/config/initializers/banners.rb index 5c83c045d..c7ff281f3 100644 --- a/config/initializers/banners.rb +++ b/config/initializers/banners.rb @@ -1,5 +1,5 @@ begin - BANNERS = YAML.load_file(Rails.root.join("config", "banners.yml")).deep_symbolize_keys -rescue + BANNERS = YAML.load_file(Rails.root.join("config/banners.yml")).deep_symbolize_keys +rescue StandardError BANNERS = {}.freeze end