|
@@ -12,7 +12,7 @@ class ApplicationMailer < ActionMailer::Base
|
|
|
protected
|
|
|
|
|
|
def locale_for_account(account, &block)
|
|
|
- I18n.with_locale(account.user_locale || I18n.default_locale, &block)
|
|
|
+ I18n.with_locale(account.user_locale || I18n.locale || I18n.default_locale, &block)
|
|
|
end
|
|
|
|
|
|
def set_autoreply_headers!
|