Retrospring/config/initializers/10_config.rb

6 lines
239 B
Ruby
Raw Normal View History

2015-07-29 09:59:52 -07:00
# Auxiliary config
APP_CONFIG = YAML.load_file(Rails.root.join('config', 'justask.yml')).with_indifferent_access
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'] }