mirror of
https://github.com/docusealco/docuseal
synced 2026-11-13 07:52:32 -05:00
add I18n invitation email
This commit is contained in:
1 parent
d8ccd4beee
commit
5dae742361
5 files changed
+37
-9
No files matched your search
@@ -8,7 +8,9 @@ class UserMailer < ApplicationMailer
|
||||
|
||||
assign_message_metadata('user_invitation', @user)
|
||||
|
||||
mail(to: @user.friendly_name,
|
||||
subject: "You are invited to #{Docuseal.product_name}")
|
||||
I18n.with_locale(@current_account.locale) do
|
||||
mail(to: @user.friendly_name,
|
||||
subject: I18n.t('you_are_invited_to_product_name', product_name: Docuseal.product_name))
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user