aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers
diff options
context:
space:
mode:
authorPratik Naik <pratiknaik@gmail.com>2008-03-05 02:03:24 +0000
committerPratik Naik <pratiknaik@gmail.com>2008-03-05 02:03:24 +0000
commita96272a0c59b75a6838936af1eb7568b6136945a (patch)
tree12b69a7d678e513f0a43037dfe3f407906fb8415 /actionpack/lib/action_view/helpers
parent89ee5d63d039af6770014a3bfdc4a743be9a429c (diff)
downloadrails-a96272a0c59b75a6838936af1eb7568b6136945a.tar.gz
rails-a96272a0c59b75a6838936af1eb7568b6136945a.tar.bz2
rails-a96272a0c59b75a6838936af1eb7568b6136945a.zip
Moved template handlers related code from ActionView::Base to ActionView::Template
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8981 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_view/helpers')
-rw-r--r--actionpack/lib/action_view/helpers/cache_helper.rb2
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 c2aab5aa72..930c397785 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)
- handler = Base.handler_class_for_extension(current_render_extension.to_sym)
+ handler = Template.handler_class_for_extension(current_render_extension.to_sym)
handler.new(@controller).cache_fragment(block, name, options)
end
end