Skip to content

Commit

Permalink
Doc++
Browse files Browse the repository at this point in the history
  • Loading branch information
enricostano committed Jan 31, 2018
1 parent 3b9d03b commit 325ce21
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/environments/staging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down

0 comments on commit 325ce21

Please sign in to comment.