Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Track the default application.css/js files for turbolinks as per vers…

…ion 0.6.0
  • Loading branch information...
commit 225989316fba7d6dacc20ac21e0b14a266d8610b 1 parent 4243de6
@dhh dhh authored
View
4 railties/lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb.tt
@@ -2,8 +2,8 @@
<html>
<head>
<title><%= camelized %></title>
- <%%= stylesheet_link_tag "application", media: "all" %>
- <%%= javascript_include_tag "application" %>
+ <%%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
+ <%%= javascript_include_tag "application", "data-turbolinks-track" => true %>
<%%= csrf_meta_tags %>
</head>
<body>
Please sign in to comment.
Something went wrong with that request. Please try again.