source: subversion/sites/rails_port/config/initializers/load_configs.rb @ 15350

Last change on this file since 15350 was 15350, checked in by tomhughes, 10 years ago

Remove old attempt at i18n.

File size: 307 bytes
Line 
1# This file loads various yml configuration files
2
3# Load application config
4APP_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.
6ActionMailer::Base.default_url_options[:host] = APP_CONFIG['host']
Note: See TracBrowser for help on using the repository browser.