Pārlūkot izejas kodu

Use default email sender address from environment var

master
Adrian Short pirms 11 gadiem
vecāks
revīzija
76cf9e4b9b
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      app/mailers/user_mailer.rb

+ 1
- 1
app/mailers/user_mailer.rb Parādīt failu

@@ -1,5 +1,5 @@
class UserMailer < ActionMailer::Base
default from: "from@example.com"
default from: ENV['APOLLO_EMAIL_FROM'] || "from@example.com"

# Subject can be set in your I18n file at config/locales/en.yml
# with the following lookup:


Notiek ielāde…
Atcelt
Saglabāt