diff options
author | Eileen M. Uchitelle <eileencodes@gmail.com> | 2015-02-03 13:44:51 -0500 |
---|---|---|
committer | Eileen M. Uchitelle <eileencodes@gmail.com> | 2015-02-03 13:44:51 -0500 |
commit | 2f904a5504d9d27ca495150188f7c6fb4101a5b2 (patch) | |
tree | 19b1629f27cb20ab7237eb2c0db266adfae607f7 | |
parent | e5fee016cc4c4b0dc47dbcef1459500c0ec1d49b (diff) | |
parent | e34de707da1569abc76f6f0cb25455052149c809 (diff) | |
download | rails-2f904a5504d9d27ca495150188f7c6fb4101a5b2.tar.gz rails-2f904a5504d9d27ca495150188f7c6fb4101a5b2.tar.bz2 rails-2f904a5504d9d27ca495150188f7c6fb4101a5b2.zip |
Merge pull request #18801 from andreynering/fix-js-link
Fix link [ci skip]
-rw-r--r-- | guides/source/working_with_javascript_in_rails.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/working_with_javascript_in_rails.md b/guides/source/working_with_javascript_in_rails.md index 367abddcfa..f3d3a83afc 100644 --- a/guides/source/working_with_javascript_in_rails.md +++ b/guides/source/working_with_javascript_in_rails.md @@ -357,7 +357,7 @@ This gem uses Ajax to speed up page rendering in most applications. Turbolinks attaches a click handler to all `<a>` on the page. If your browser supports -[PushState](https://developer.mozilla.org/en-US/docs/DOM/Manipulating_the_browser_history#The_pushState(\).C2.A0method), +[PushState](https://developer.mozilla.org/en-US/docs/Web/Guide/API/DOM/Manipulating_the_browser_history#The_pushState()_method), Turbolinks will make an Ajax request for the page, parse the response, and replace the entire `<body>` of the page with the `<body>` of the response. It will then use PushState to change the URL to the correct one, preserving |