浏览代码

Use default email sender address from environment var

master
Adrian Short 11 年前
父节点
当前提交
76cf9e4b9b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      app/mailers/user_mailer.rb

+ 1
- 1
app/mailers/user_mailer.rb 查看文件

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


正在加载...
取消
保存