diff options
author | Guillermo Iguaran <guilleiguaran@gmail.com> | 2013-06-03 16:07:10 -0500 |
---|---|---|
committer | Guillermo Iguaran <guilleiguaran@gmail.com> | 2013-06-03 16:07:10 -0500 |
commit | 438e2ad3613f7266cfec77247ecb9b4e7c629b94 (patch) | |
tree | 934d49be8687c04abcfe2cd0fa83e4fbef80371b /railties | |
parent | 59caeb6c606cb78b92a24def2bea515c85b2421e (diff) | |
download | rails-438e2ad3613f7266cfec77247ecb9b4e7c629b94.tar.gz rails-438e2ad3613f7266cfec77247ecb9b4e7c629b94.tar.bz2 rails-438e2ad3613f7266cfec77247ecb9b4e7c629b94.zip |
Replace comment about Sprockets stub directive with a link to README about all directives
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/app/assets/javascripts/application.js.tt | 3 | ||||
-rw-r--r-- | railties/lib/rails/generators/rails/plugin_new/templates/rails/javascripts.js | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/app/assets/javascripts/application.js.tt b/railties/lib/rails/generators/rails/app/templates/app/assets/javascripts/application.js.tt index 6899dfe9c9..8b91313e51 100644 --- a/railties/lib/rails/generators/rails/app/templates/app/assets/javascripts/application.js.tt +++ b/railties/lib/rails/generators/rails/app/templates/app/assets/javascripts/application.js.tt @@ -7,7 +7,8 @@ // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the // compiled file. // -// stub path allows dependency to be excluded from the asset bundle. +// Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details +// about supported directives. // <% unless options[:skip_javascript] -%> //= require <%= options[:javascript] %> diff --git a/railties/lib/rails/generators/rails/plugin_new/templates/rails/javascripts.js b/railties/lib/rails/generators/rails/plugin_new/templates/rails/javascripts.js index f84de00fd3..5bc2e1c8b5 100644 --- a/railties/lib/rails/generators/rails/plugin_new/templates/rails/javascripts.js +++ b/railties/lib/rails/generators/rails/plugin_new/templates/rails/javascripts.js @@ -7,6 +7,7 @@ // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the // compiled file. // -// stub path allows dependency to be excluded from the asset bundle. +// Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details +// about supported directives. // //= require_tree . |