App config with indifferent hash access
This commit is contained in:
parent
10d16466fd
commit
3a663eeb09
|
@ -1,5 +1,5 @@
|
|||
# Auxiliary config
|
||||
APP_CONFIG = YAML.load_file(Rails.root.join('config', 'justask.yml'))
|
||||
APP_CONFIG = YAML.load_file(Rails.root.join('config', 'justask.yml')).with_indifferent_access
|
||||
|
||||
# Update rails config for mail
|
||||
Rails.application.config.action_mailer.default_url_options = { host: APP_CONFIG['hostname'] }
|
||||
|
|
Loading…
Reference in New Issue