1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #19931 from prathamesh-sonpatki/note-about-non-get-links

Added note about non-GET links getting converted to GET links in mailer  Added note about non-GET links getting converted to GET links in mailer templates [ci skip]
This commit is contained in:
Yves Senn 2015-04-28 13:43:19 +02:00
commit f58c1e17fa

View file

@ -530,6 +530,9 @@ url helper.
<%= user_url(@user, host: 'example.com') %> <%= user_url(@user, host: 'example.com') %>
``` ```
NOTE: non-`GET` links require [jQuery UJS](https://github.com/rails/jquery-ujs)
and won't work in mailer templates. They will result in normal `GET` requests.
### Sending Multipart Emails ### Sending Multipart Emails
Action Mailer will automatically send multipart emails if you have different Action Mailer will automatically send multipart emails if you have different