Created
June 15, 2016 03:36
-
-
Save Frank004/39cad75fe43b0125a1c9aad50b30aad3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<head> | |
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> | |
<%= stylesheet_link_tag "application", :media => "all", 'data-turbolinks-track' => true %> | |
</head> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//= require jquery | |
//= require jquery.turbolinks | |
..... #tus librerias | |
//= require turbolinks |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function(){ | |
... #tu codigo jquery | |
}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#gem 'turbolinks', github: 'rails/turbolinks' #si quieres usar el nuevo turbolink | |
gem 'turbolinks', github: 'rails/turbolinks' #stable turbolink | |
gem 'jquery-turbolinks' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment