Ruby on Rails
Monday, November 28, 2011
You should only need <%= javascript_include_tag "application" %> in the head to get all the javascript assets for your application.
This links to application.js, the manifest file that includes all other Javascript listed, including require_tree which includes all files in the assets/javascript folder.
application.js
//= require jquery
//= require jquery_ujs
//= require_tree .
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/Bsz_sVNKakMJ.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment