uses applications's default locale
This commit is contained in:
@@ -69,7 +69,9 @@ class Mailer < ApplicationMailer
|
|||||||
end
|
end
|
||||||
|
|
||||||
def user_invite(email)
|
def user_invite(email)
|
||||||
mail(to: email, subject: t('mailers.user_invite.subject', org_name: Setting["org_name"]))
|
I18n.with_locale(I18n.default_locale) do
|
||||||
|
mail(to: email, subject: t('mailers.user_invite.subject', org_name: Setting["org_name"]))
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|||||||
Reference in New Issue
Block a user