Updated to new naming style

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@389 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
David Heinemeier Hansson 2005-01-11 01:54:55 +00:00
parent 0f4cba7b86
commit efdabfb8f5
1 changed files with 2 additions and 2 deletions

View File

@ -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