mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 14:31:42 +00:00
feat: enviar el idioma en el correo de confirmación
This commit is contained in:
parent
5ac72f8b2b
commit
da721ddaaf
2 changed files with 2 additions and 2 deletions
|
@ -1,3 +1,3 @@
|
|||
%p= t('.greeting', recipient: @email)
|
||||
%p= t('.instruction')
|
||||
%p= link_to t('.action'), confirmation_url(@resource, confirmation_token: @token)
|
||||
%p= link_to t('.action'), confirmation_url(@resource, confirmation_token: @token, change_locale_to: @resource.lang)
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
\
|
||||
= t('.instruction')
|
||||
\
|
||||
= confirmation_url(@resource, confirmation_token: @token)
|
||||
= confirmation_url(@resource, confirmation_token: @token, change_locale_to: @resource.lang)
|
||||
|
|
Loading…
Reference in a new issue