diff options
author | Sam Stephenson <sam@37signals.com> | 2016-02-23 17:55:32 -0600 |
---|---|---|
committer | Sam Stephenson <sam@37signals.com> | 2016-02-23 17:55:32 -0600 |
commit | 7225f0bb9fd1d71a7a37b53815c90178cc7319bd (patch) | |
tree | 385e31ef6a273d99b727db57126db4372b321e36 /guides | |
parent | 2c02bc0a47777ad8cf98e1465c08b1a68151803e (diff) | |
download | rails-7225f0bb9fd1d71a7a37b53815c90178cc7319bd.tar.gz rails-7225f0bb9fd1d71a7a37b53815c90178cc7319bd.tar.bz2 rails-7225f0bb9fd1d71a7a37b53815c90178cc7319bd.zip |
Switch to `data-turbolinks-track="reload"`
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/asset_pipeline.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/asset_pipeline.md b/guides/source/asset_pipeline.md index 5dd54bf8ad..b6c612794c 100644 --- a/guides/source/asset_pipeline.md +++ b/guides/source/asset_pipeline.md @@ -335,8 +335,8 @@ include the 'data-turbolinks-track' option which causes turbolinks to check if an asset has been updated and if so loads it into the page: ```erb -<%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %> -<%= javascript_include_tag "application", "data-turbolinks-track" => true %> +<%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => "reload" %> +<%= javascript_include_tag "application", "data-turbolinks-track" => "reload" %> ``` In regular views you can access images in the `public/assets/images` directory |