Permalink
Browse files

Fixed devise email_from, reordered initalizers

  • Loading branch information...
1 parent 8667647 commit b6124979037b4fb86ea416b08ec79b01c848946e @randx randx committed Apr 5, 2012
@@ -4,7 +4,7 @@
# ==> 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"

0 comments on commit b612497

Please sign in to comment.