Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

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

Merged
merged 1 commit into from

2 participants

@yasuoza

Turbolinks should be located at the bottom of application.js to detect assets change properly.

@yasuoza yasuoza Locate `=require turbolinks` at the bottom of application.js
Turbolinks should be located at the bottom of application.js
to detect assets change properly.
13ba4fe
@rafaelfranca rafaelfranca merged commit 5004363 into rails:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 4, 2012
  1. @yasuoza

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

    yasuoza authored
    Turbolinks should be located at the bottom of application.js
    to detect assets change properly.
This page is out of date. Refresh to see the latest.
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 -%>
Something went wrong with that request. Please try again.