diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-01-19 06:01:57 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-01-19 06:01:57 +0000 |
commit | 88bc014acc82129e55a7ae7505cb62bacd0d685d (patch) | |
tree | 855c3779b5eb527ba70ace6901d73242a05be7f0 /actionpack/lib/action_view/helpers | |
parent | 16b129a68ca1770815107a3edb54090282349ba7 (diff) | |
download | rails-88bc014acc82129e55a7ae7505cb62bacd0d685d.tar.gz rails-88bc014acc82129e55a7ae7505cb62bacd0d685d.tar.bz2 rails-88bc014acc82129e55a7ae7505cb62bacd0d685d.zip |
Revert r8669 for now, breaks Action Mailer. Reopens #10800.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8676 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_view/helpers')
-rw-r--r-- | actionpack/lib/action_view/helpers/cache_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/cache_helper.rb b/actionpack/lib/action_view/helpers/cache_helper.rb index aa85b9fb40..ea505adfa7 100644 --- a/actionpack/lib/action_view/helpers/cache_helper.rb +++ b/actionpack/lib/action_view/helpers/cache_helper.rb @@ -32,7 +32,7 @@ module ActionView # <i>Topics listed alphabetically</i> # <% end %> def cache(name = {}, options = nil, &block) - template_extension = @finder.pick_template_extension(first_render)[/\.?(\w+)$/, 1].to_sym + template_extension = find_template_extension_for(first_render)[/\.?(\w+)$/, 1].to_sym handler = Base.handler_class_for_extension(template_extension) handler.new(@controller).cache_fragment(block, name, options) end |