From 639a99fcfb350b92cbe93ae9debebce526047b0d Mon Sep 17 00:00:00 2001 From: Patrick Gansterer Date: Fri, 18 Aug 2017 00:00:26 +0200 Subject: [PATCH] Match the From for mails with the implementation in the messages plugin --- app/mailers/mailer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/mailers/mailer.rb b/app/mailers/mailer.rb index b8da239e..bb890813 100644 --- a/app/mailers/mailer.rb +++ b/app/mailers/mailer.rb @@ -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.