Match the From for mails with the implementation in the messages plugin
This commit is contained in:
parent
0785eb2f22
commit
639a99fcfb
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ class Mailer < ActionMailer::Base
|
||||||
|
|
||||||
layout 'email' # Use views/layouts/email.txt.erb
|
layout 'email' # Use views/layouts/email.txt.erb
|
||||||
|
|
||||||
default from: "Foodsoft <#{FoodsoftConfig[:email_sender]}>"
|
default from: "#{I18n.t('layouts.foodsoft')} <#{FoodsoftConfig[:email_sender]}>"
|
||||||
|
|
||||||
# Sends an email with instructions on how to reset the password.
|
# Sends an email with instructions on how to reset the password.
|
||||||
# Assumes user.setResetPasswordToken has been successfully called already.
|
# Assumes user.setResetPasswordToken has been successfully called already.
|
||||||
|
|
Loading…
Reference in a new issue