Permalink
Browse files

Updated to new naming style

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@389 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 0f4cba7 commit efdabfb8f5b6d62bbd2455d5230b1d3f72219380 @dhh dhh committed Jan 11, 2005
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/lib/action_view/helpers/cache_helper.rb
@@ -2,8 +2,8 @@ module ActionView
module Helpers
# See ActionController::Caching::Fragments for usage instructions.
module CacheHelper
- def cache(binding, name, key = nil)
- @controller.cache_erb_fragment(binding, name, key) { yield }
+ def cache(binding, name = {})
+ @controller.cache_erb_fragment(binding, name) { yield }
end
end
end

0 comments on commit efdabfb

Please sign in to comment.