Merge pull request #3204 from betagouv/link-in-invitation-mails

Add html links in invitation mail templates
This commit is contained in:
Mathieu Magnin 2018-12-20 15:28:12 +01:00 committed by GitHub
commit 1c11e6ad12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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"