another silly mistake, need to symbolize keys in deploy scripts
This commit is contained in:
parent
dc0a08172d
commit
c8e52526d9
2 changed files with 2 additions and 2 deletions
|
|
@ -42,7 +42,7 @@ def create
|
|||
end
|
||||
|
||||
def set_app_config username
|
||||
current_config = YAML.load(Rails.root.join('config', 'app_config.yml'))
|
||||
current_config = YAML.load(Rails.root.join('config', 'app_config.yml')).symbolize_keys
|
||||
current_config[Rails.env] ||= {}
|
||||
current_config[Rails.env][:pod_url] = "#{username}.joindiaspora.com"
|
||||
current_config[:default][:pod_url] = "#{username}.joindiaspora.com"
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
require 'config/environment'
|
||||
|
||||
def set_app_config username
|
||||
current_config = YAML.load(Rails.root.join('config', 'app_config.yml'))
|
||||
current_config = YAML.load(Rails.root.join('config', 'app_config.yml')).symbolize_keys
|
||||
current_config[Rails.env] ||= {}
|
||||
current_config[Rails.env][:pod_url] = "#{username}.joindiaspora.com"
|
||||
current_config[:default][:pod_url] = "#{username}.joindiaspora.com"
|
||||
|
|
|
|||
Loading…
Reference in a new issue