Skip to content

Commit

Permalink
suggest using rel="nofollow" on remote links
Browse files Browse the repository at this point in the history
  • Loading branch information
mislav committed Feb 5, 2011
1 parent 9d5aa75 commit cac3a08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -48,7 +48,7 @@ This attribute indicates that a submit button should get disabled while the form

### "data-method": Links that result in POST, PUT, or DELETE requests

<a href="..." data-method="delete">Delete this entry</a>
<a href="..." data-method="delete" rel="nofollow">Delete this entry</a>

Activating hyperlinks (usually by clicking or tapping on them) always results in an HTTP GET request. However, if your application is [RESTful][], some links are in fact actions that change data on the server and must be performed with non-GET requests. This attribute allows marking up such links with an explicit method such as "post", "put" or "delete".

Expand Down

0 comments on commit cac3a08

Please sign in to comment.