about summary refs log tree commit diff
path: root/app/mailers
diff options
context:
space:
mode:
Diffstat (limited to 'app/mailers')
-rw-r--r--app/mailers/notification_mailer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/mailers/notification_mailer.rb b/app/mailers/notification_mailer.rb
index f308c403b..a944db137 100644
--- a/app/mailers/notification_mailer.rb
+++ b/app/mailers/notification_mailer.rb
@@ -71,7 +71,7 @@ class NotificationMailer < ApplicationMailer
   private
 
   def locale_for_account(account)
-    I18n.with_locale(account.user.locale || I18n.default_locale) do
+    I18n.with_locale(account.user_locale || I18n.default_locale) do
       yield
     end
   end