ref: master
config/initializers/01_load_config.rb
1 2 3
file = Rails.root.join('config', 'noosfero.yml') NOOSFERO_CONF = File.exists?(file) ? YAML.load_file(file)[Rails.env] || {} : {}