Permalink
Browse files

Correct docs on caching and all.js

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8641 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 4b7091f commit 76ea495ec95410dcd98afdc72fefe25f212f68da @NZKoz NZKoz committed Jan 14, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_view/helpers/asset_tag_helper.rb
@@ -232,7 +232,7 @@ def javascript_path(source)
# <script type="text/javascript" src="/javascripts/cart.js"></script>
# <script type="text/javascript" src="/javascripts/checkout.js"></script>
#
- # javascript_include_tag "prototype", "cart", "checkout", :cache => "shop" # when ActionController::Base.perform_caching is false =>
+ # javascript_include_tag "prototype", "cart", "checkout", :cache => "shop" # when ActionController::Base.perform_caching is true =>
# <script type="text/javascript" src="/javascripts/shop.js"></script>
def javascript_include_tag(*sources)
options = sources.extract_options!.stringify_keys

0 comments on commit 76ea495

Please sign in to comment.