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 /railties/lib | |
parent | 2c02bc0a47777ad8cf98e1465c08b1a68151803e (diff) | |
download | rails-7225f0bb9fd1d71a7a37b53815c90178cc7319bd.tar.gz rails-7225f0bb9fd1d71a7a37b53815c90178cc7319bd.tar.bz2 rails-7225f0bb9fd1d71a7a37b53815c90178cc7319bd.zip |
Switch to `data-turbolinks-track="reload"`
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb.tt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb.tt b/railties/lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb.tt index 68b5c051b2..ec781721cb 100644 --- a/railties/lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb.tt +++ b/railties/lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb.tt @@ -11,8 +11,8 @@ <%%= stylesheet_link_tag 'application', media: 'all' %> <%- else -%> <%- if gemfile_entries.any? { |m| m.name == 'turbolinks' } -%> - <%%= 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' %> <%- else -%> <%%= stylesheet_link_tag 'application', media: 'all' %> <%%= javascript_include_tag 'application' %> |