From f69ac55d4ad664ea208771111d9d4f078b65ff16 Mon Sep 17 00:00:00 2001 From: Prathamesh Sonpatki Date: Wed, 3 Oct 2018 00:06:37 +0530 Subject: Turbolinks is enabled by default in new apps [ci skip] --- guides/source/working_with_javascript_in_rails.md | 4 ---- 1 file changed, 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 `` of the page with the `` 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: -- cgit v1.2.3