5
0
Fork 0
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:
f 2023-03-23 15:42:20 -03:00
parent fce5c0d90b
commit 732db666c7
2 changed files with 2 additions and 2 deletions

View file

@ -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)

View file

@ -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)
\