diff options
author | Prem Sichanugrist <s@sikachu.com> | 2012-08-06 16:28:38 -0400 |
---|---|---|
committer | Prem Sichanugrist <s@sikachu.com> | 2012-08-06 16:38:52 -0400 |
commit | 6c4673030e74a8518273e0c9de5d37d63fd81453 (patch) | |
tree | f0d12fa80e3b0c33071520a02ebfbf3264d447a3 /actionpack/lib | |
parent | 8e2a05b33da1cd27d18a82168b49ba642122fbdb (diff) | |
download | rails-6c4673030e74a8518273e0c9de5d37d63fd81453.tar.gz rails-6c4673030e74a8518273e0c9de5d37d63fd81453.tar.bz2 rails-6c4673030e74a8518273e0c9de5d37d63fd81453.zip |
Rearrange example output of javascript_include_tag
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_view/helpers/asset_tag_helpers/javascript_tag_helpers.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/helpers/asset_tag_helpers/javascript_tag_helpers.rb b/actionpack/lib/action_view/helpers/asset_tag_helpers/javascript_tag_helpers.rb index 7449f93671..b79b625c12 100644 --- a/actionpack/lib/action_view/helpers/asset_tag_helpers/javascript_tag_helpers.rb +++ b/actionpack/lib/action_view/helpers/asset_tag_helpers/javascript_tag_helpers.rb @@ -137,9 +137,9 @@ module ActionView # javascript_include_tag :all # # => <script type="text/javascript" src="/javascripts/jquery.js?1284139606"></script> # # <script type="text/javascript" src="/javascripts/rails.js?1284139606"></script> - # # <script type="text/javascript" src="/javascripts/application.js?1284139606"></script> # # <script type="text/javascript" src="/javascripts/shop.js?1284139606"></script> # # <script type="text/javascript" src="/javascripts/checkout.js?1284139606"></script> + # # <script type="text/javascript" src="/javascripts/application.js?1284139606"></script> # # Note that your defaults of choice will be included first, so they will be available to all subsequently # included files. @@ -162,9 +162,9 @@ module ActionView # javascript_include_tag :all, :cache => true # # => <script type="text/javascript" src="/javascripts/jquery.js?1284139606"></script> # # <script type="text/javascript" src="/javascripts/rails.js?1284139606"></script> - # # <script type="text/javascript" src="/javascripts/application.js?1284139606"></script> # # <script type="text/javascript" src="/javascripts/shop.js?1284139606"></script> # # <script type="text/javascript" src="/javascripts/checkout.js?1284139606"></script> + # # <script type="text/javascript" src="/javascripts/application.js?1284139606"></script> # # # assuming config.perform_caching is true # javascript_include_tag :all, :cache => true |