aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorPrathamesh Sonpatki <csonpatki@gmail.com>2018-10-03 00:06:37 +0530
committerPrathamesh Sonpatki <csonpatki@gmail.com>2018-10-03 00:06:37 +0530
commitf69ac55d4ad664ea208771111d9d4f078b65ff16 (patch)
tree29683f40db6145ecf44473e214964c8db1bc6721 /guides
parente8546aba904fb6685ef2e61f1623c64e699a2c9c (diff)
downloadrails-f69ac55d4ad664ea208771111d9d4f078b65ff16.tar.gz
rails-f69ac55d4ad664ea208771111d9d4f078b65ff16.tar.bz2
rails-f69ac55d4ad664ea208771111d9d4f078b65ff16.zip
Turbolinks is enabled by default in new apps [ci skip]
Diffstat (limited to 'guides')
-rw-r--r--guides/source/working_with_javascript_in_rails.md4
1 files changed, 0 insertions, 4 deletions
diff --git a/guides/source/working_with_javascript_in_rails.md b/guides/source/working_with_javascript_in_rails.md
index 36f5039883..c36b3faa6c 100644
--- a/guides/source/working_with_javascript_in_rails.md
+++ b/guides/source/working_with_javascript_in_rails.md
@@ -494,10 +494,6 @@ 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
refresh semantics and giving you pretty URLs.
-The only thing you have to do to enable Turbolinks is have it in your `Gemfile`,
-and put `//= require turbolinks` in your JavaScript manifest, which is usually
-`app/assets/javascripts/application.js`.
-
If you want to disable Turbolinks for certain links, add a `data-turbolinks="false"`
attribute to the tag: