This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user