Skip to content
This repository
Browse code

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...
commit 76ea495ec95410dcd98afdc72fefe25f212f68da 1 parent 4b7091f
Michael Koziarski NZKoz authored
2  actionpack/lib/action_view/helpers/asset_tag_helper.rb
@@ -232,7 +232,7 @@ def javascript_path(source)
232 232 # <script type="text/javascript" src="/javascripts/cart.js"></script>
233 233 # <script type="text/javascript" src="/javascripts/checkout.js"></script>
234 234 #
235   - # javascript_include_tag "prototype", "cart", "checkout", :cache => "shop" # when ActionController::Base.perform_caching is false =>
  235 + # javascript_include_tag "prototype", "cart", "checkout", :cache => "shop" # when ActionController::Base.perform_caching is true =>
236 236 # <script type="text/javascript" src="/javascripts/shop.js"></script>
237 237 def javascript_include_tag(*sources)
238 238 options = sources.extract_options!.stringify_keys

0 comments on commit 76ea495

Please sign in to comment.
Something went wrong with that request. Please try again.