Retrospring/config/initializers/10_config.rb

6 lines
215 B
Ruby
Raw Normal View History

2015-07-29 09:59:52 -07:00
# Auxiliary config
2014-11-03 03:54:24 -08:00
APP_CONFIG = YAML.load_file(Rails.root.join('config', 'justask.yml'))
2015-07-29 09:59:52 -07:00
# Update rails config for mail
Rails.application.config.action_mailer.default_url_options = { host: APP_CONFIG['hostname'] }