Modified generated text to explain where .js and .coffee files can be located and that there shouldn't be blank lines in manifest per this issue http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/effb868290c2c0b8

This commit is contained in:
Noel Gomez
2011-05-30 12:58:21 -07:00
committed by Xavier Noria
parent 2183f05864
commit 7b4cd4bb5b

View File

@@ -1,9 +1,11 @@
// This is a manifest file that'll be compiled into including all the files listed below.
// Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
// be included in the compiled file accessible from http://example.com/assets/application.js
// This is a manifest file that'll be compiled into application.js and include all the files listed below.
// Add new JavaScript/Coffee code in separate files in; this directory, lib/assets/javascripts, or vendor/assets/javascripts
// and they'll be included in the compiled file accessible from http://example.com/assets/application.js
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
// the compiled file.
//
// WARNING: DO NOT LEAVE ANY BLANK LINES BETWEEN REQUIRES BELOW
//
<% unless options[:skip_javascript] -%>
//= require <%= options[:javascript] %>
//= require <%= options[:javascript] %>_ujs