Fix #1624 - Send e-mail notifications to admins about new reports (#3949)

This commit is contained in:
Eugen Rochko
2017-06-27 00:04:00 +02:00
committed by GitHub
parent a91d968cab
commit 42b8220632
7 changed files with 46 additions and 14 deletions

View File

@ -67,12 +67,4 @@ class NotificationMailer < ApplicationMailer
)
end
end
private
def locale_for_account(account)
I18n.with_locale(account.user_locale || I18n.default_locale) do
yield
end
end
end