@@ -5,7 +5,7 @@ Devise.setup do |config| |
||
5 | 5 |
# Configure the e-mail address which will be shown in Devise::Mailer, |
6 | 6 |
# note that it will be overwritten if you use your own mailer class |
7 | 7 |
# with default "from" parameter. |
8 |
- config.mailer_sender = 'please-change-me-at-config-initializers-devise@example.com' |
|
8 |
+ config.mailer_sender = ENV['EMAIL_FROM_ADDRESS'].presence || 'you@example.com' |
|
9 | 9 |
|
10 | 10 |
# Configure the class responsible to send e-mails. |
11 | 11 |
# config.mailer = 'Devise::Mailer' |