1 # This file loads various yml configuration files
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']