Explorar el Código

Use default email sender address from environment var

master
Adrian Short hace 11 años
padre
commit
76cf9e4b9b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      app/mailers/user_mailer.rb

+ 1
- 1
app/mailers/user_mailer.rb Ver fichero

@@ -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:


Cargando…
Cancelar
Guardar