invite: refactor the generation of the invitation URL
This commit is contained in:
parent
bc55afba51
commit
1a6a643dc9
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@
|
|||
Afin de répondre à cette invitation, merci de vous inscrire avec l'adresse email
|
||||
= @invite.email
|
||||
sur
|
||||
= "#{users_dossiers_invite_url(@invite.id)}?email=#{@invite.email}"
|
||||
= users_dossiers_invite_url(@invite.id, params: { email: @invite.email })
|
||||
|
||||
%p
|
||||
Bonne journée,
|
||||
|
|
Loading…
Reference in a new issue