提交 b6124979 编写于 作者: D Dmitriy Zaporozhets

Fixed devise email_from, reordered initalizers

上级 86676476
......@@ -4,7 +4,7 @@ Devise.setup do |config|
# ==> Mailer Configuration
# Configure the e-mail address which will be shown in Devise::Mailer,
# note that it will be overwritten if you use your own mailer class with default "from" parameter.
config.mailer_sender = "please-change-me-at-config-initializers-devise@example.com"
config.mailer_sender = EMAIL_OPTS["from"]
# Configure the class responsible to send e-mails.
# config.mailer = "Devise::Mailer"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册