Add html links in invitation mail templates

This commit is contained in:
Mathieu Magnin 2018-12-20 15:01:04 +01:00
parent bc17fdacfa
commit 1dcc8303a6
2 changed files with 4 additions and 2 deletions

View file

@ -13,6 +13,7 @@
Afin de répondre à cette invitation, merci de vous inscrire avec l'adresse email
= @invite.email
sur
= invite_url(@invite, params: { email: @invite.email })
- url_for_link = invite_url(@invite, params: { email: @invite.email })
= link_to url_for_link, url_for_link
= render partial: "layouts/mailers/signature"

View file

@ -8,6 +8,7 @@
%p
Pour le consulter, merci de suivre ce lien :
= invite_url(@invite)
- url_for_link = invite_url(@invite)
= link_to url_for_link, url_for_link
= render partial: "layouts/mailers/signature"