Commit b6124979037b4fb86ea416b08ec79b01c848946e
1 parent
86676476
Exists in
master
and in
4 other branches
Fixed devise email_from, reordered initalizers
Showing
3 changed files
with
4 additions
and
4 deletions
Show diff stats
config/initializers/devise.rb
@@ -4,7 +4,7 @@ Devise.setup do |config| | @@ -4,7 +4,7 @@ Devise.setup do |config| | ||
4 | # ==> Mailer Configuration | 4 | # ==> Mailer Configuration |
5 | # Configure the e-mail address which will be shown in Devise::Mailer, | 5 | # Configure the e-mail address which will be shown in Devise::Mailer, |
6 | # note that it will be overwritten if you use your own mailer class with default "from" parameter. | 6 | # note that it will be overwritten if you use your own mailer class with default "from" parameter. |
7 | - config.mailer_sender = "please-change-me-at-config-initializers-devise@example.com" | 7 | + config.mailer_sender = EMAIL_OPTS["from"] |
8 | 8 | ||
9 | # Configure the class responsible to send e-mails. | 9 | # Configure the class responsible to send e-mails. |
10 | # config.mailer = "Devise::Mailer" | 10 | # config.mailer = "Devise::Mailer" |
config/initializers/gitlabhq/10_load_config.rb