Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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] #19931

Merged
merged 1 commit into from Apr 28, 2015

Conversation

prathamesh-sonpatki
Copy link
Member

No description provided.

@prathamesh-sonpatki
Copy link
Member Author

//cc @senny

rails_guides_

@senny
Copy link
Member

senny commented Apr 28, 2015

@prathamesh-sonpatki can you format the note so that it will put the text into the yellow box? I think it's:

NOTE: ...

@prathamesh-sonpatki
Copy link
Member Author

Done.
rails_guides__

@@ -530,6 +530,8 @@ url helper.
<%= user_url(@user, host: 'example.com') %>
```

NOTE: `non-GET` links don't work when added to mailer templates. They are treated as `GET` links.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think about?

non-GET links require JavaScript and won't work in mailer templates. They will result in normal GET requests.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@senny Should we mention jQuery UJS instead of JavaScript? Rest of the sentence looks good to me.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@prathamesh-sonpatki yea that's probably better. You can even link the word to the project https://github.com/rails/jquery-ujs

@prathamesh-sonpatki
Copy link
Member Author

@senny updated.

senny added a commit that referenced this pull request Apr 28, 2015
…-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]
@senny senny merged commit 3d92a9e into rails:master Apr 28, 2015
senny added a commit that referenced this pull request Apr 28, 2015
…-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]
@prathamesh-sonpatki prathamesh-sonpatki deleted the note-about-non-get-links branch March 3, 2016 05:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants