mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 05:31:42 +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',
|
||||
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)
|
||||
\
|
||||
|
|
Loading…
Reference in a new issue