about summary refs log tree commit diff
path: root/config/environments
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2022-11-11 09:33:32 +0900
committerGitHub <noreply@github.com>2022-11-11 01:33:32 +0100
commit19a8563905cf613bb24e10e4e19bdbc1d0ff3b8a (patch)
treebaa08fcdb75e96b14155317b27486cf290f49131 /config/environments
parentd4f973227c3a65833b6f8f34cab080900c77d4d6 (diff)
Fix `ENV` (#20377)
Diffstat (limited to 'config/environments')
-rw-r--r--config/environments/production.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb
index 48b134949..dc5319535 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -104,7 +104,7 @@ Rails.application.configure do
   enable_starttls = nil
   enable_starttls_auto = nil
 
-  case env['SMTP_ENABLE_STARTTLS']
+  case ENV['SMTP_ENABLE_STARTTLS']
   when 'always'
     enable_starttls = true
   when 'never'