Remove duplication that is in the test helper. Adding tests for the passing of no...
[rails.git] / config / initializers / load_configs.rb
1 # This file loads various yml configuration files
2
3 # Load application config
4 APP_CONFIG = YAML.load(File.read(RAILS_ROOT + "/config/application.yml"))[RAILS_ENV]
5 # This will let you more easily use helpers based on url_for in your mailers.
6 ActionMailer::Base.default_url_options[:host] = APP_CONFIG['host']
7
8 # Load texts in a particular language
9 TEXT = YAML.load(File.read(RAILS_ROOT + "/config/text_outputs/en.yml"))
10