Commit b6124979 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fixed devise email_from, reordered initalizers

parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment