diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-06-27 00:04:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-27 00:04:00 +0200 |
commit | 42b82206322c73c4a4d7ac29ca9a781ab11e7b1a (patch) | |
tree | d27e31942c373cf8c919b512b0d6e45c0809468f /app/mailers/notification_mailer.rb | |
parent | a91d968cab5120ca389fcc7d6788cafca85e69e7 (diff) |
Fix #1624 - Send e-mail notifications to admins about new reports (#3949)
Diffstat (limited to 'app/mailers/notification_mailer.rb')
-rw-r--r-- | app/mailers/notification_mailer.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/app/mailers/notification_mailer.rb b/app/mailers/notification_mailer.rb index a944db137..12b92bf45 100644 --- a/app/mailers/notification_mailer.rb +++ b/app/mailers/notification_mailer.rb @@ -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 |