mirror of
https://0xacab.org/sutty/sutty
synced 2025-01-19 16:43:39 +00:00
fix: usar el último sitio al que todavía no aceptamos invitación
This commit is contained in:
parent
fce5c0d90b
commit
732db666c7
2 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
- site = @resource.sites.last
|
- site = @resource.roles.where(temporal: true).last&.site
|
||||||
|
|
||||||
%p= t('devise.mailer.invitation_instructions.hello',
|
%p= t('devise.mailer.invitation_instructions.hello',
|
||||||
email: @resource.email)
|
email: @resource.email)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
- site = @resource.sites.last
|
- site = @resource.roles.where(temporal: true).last&.site
|
||||||
|
|
||||||
= t('devise.mailer.invitation_instructions.hello', email: @resource.email)
|
= t('devise.mailer.invitation_instructions.hello', email: @resource.email)
|
||||||
\
|
\
|
||||||
|
|
Loading…
Reference in a new issue