瀏覽代碼

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:


Loading…
取消
儲存