From 325ce2101597dd8411b6807307f654ba29ef06aa Mon Sep 17 00:00:00 2001 From: Enrico Stano Date: Wed, 31 Jan 2018 16:20:26 +0100 Subject: [PATCH] Doc++ --- config/environments/staging.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/environments/staging.rb b/config/environments/staging.rb index fe4480f76..b451781fe 100644 --- a/config/environments/staging.rb +++ b/config/environments/staging.rb @@ -71,6 +71,8 @@ protocol: (ENV["MAIL_LINK_PROTO"] || "https") } + # Retrieve SMTP configuration from environment variables + # starting with `SMTP_` smtp_env = Hash[ENV.map do |k,v| if /^SMTP_(.*)$/ === k [$1.downcase.to_sym, YAML.load(v)]