Permalink
Browse files

Locate `=require turbolinks` at the bottom of application.js

Turbolinks should be located at the bottom of application.js
to detect assets change properly.
  • Loading branch information...
1 parent e1ce84b commit 13ba4fe6f6bde4f6807c0d42d930ea9c0dbd86e0 @yasuoza committed Dec 4, 2012
View
4 railties/lib/rails/generators/rails/app/templates/app/assets/javascripts/application.js.tt
@@ -13,6 +13,8 @@
<% unless options[:skip_javascript] -%>
//= require <%= options[:javascript] %>
//= require <%= options[:javascript] %>_ujs
-//= require turbolinks
<% end -%>
//= require_tree .
+<% unless options[:skip_javascript] -%>
+//= require turbolinks
+<% end -%>

0 comments on commit 13ba4fe

Please sign in to comment.