mirror of
https://github.com/Evolix/chexpire.git
synced 2024-04-26 22:10:50 +02:00
Merge pull request #78 from Evolix/issue-77
Devise fetches the from value in the custom configuration
This commit is contained in:
commit
8c3924832f
|
@ -18,7 +18,7 @@ Devise.setup do |config|
|
|||
# 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 = 'chexpire@example.com'
|
||||
config.mailer_sender = Rails.configuration.chexpire.fetch("mailer_default_from")
|
||||
|
||||
# Configure the class responsible to send e-mails.
|
||||
# config.mailer = 'Devise::Mailer'
|
||||
|
|
Loading…
Reference in a new issue