Match the From for mails with the implementation in the messages plugin

This commit is contained in:
Patrick Gansterer 2017-08-18 00:00:26 +02:00
parent 0785eb2f22
commit 639a99fcfb
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ class Mailer < ActionMailer::Base
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.
# Assumes user.setResetPasswordToken has been successfully called already.