Browse files

Merge pull request #8411 from YasuOza/turbolinks_require_bottom

Locate `=require turbolinks` at the bottom of application.js
  • Loading branch information...
2 parents e1ce84b + 13ba4fe commit 5004363a142240adfb7194807b3e14dca9ec9487 @rafaelfranca rafaelfranca committed Dec 3, 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 5004363

Please sign in to comment.