Open-Source-Access-Control-.../config/initializers/load_config.rb

2 lines
74 B
Ruby

APP_CONFIG = YAML.load_file("#{Rails.root}/config/config.yml")[Rails.env]