diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-01-10 03:17:20 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-01-10 03:17:20 +0000 |
commit | a8eb90fcee1efdc491c9eb030827b46929ea979c (patch) | |
tree | aad46c0c0e483ad77a129777f1d4a641c1d334c0 /actionpack/lib/action_view/template_handler.rb | |
parent | 59f222dbf7c05e3d1f9e71831bc79e2a5ed4a5b5 (diff) | |
download | rails-a8eb90fcee1efdc491c9eb030827b46929ea979c.tar.gz rails-a8eb90fcee1efdc491c9eb030827b46929ea979c.tar.bz2 rails-a8eb90fcee1efdc491c9eb030827b46929ea979c.zip |
Move fragment caching from special helper methods to TemplateHandler. Closes #10754 [Josh Peek]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8619 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_view/template_handler.rb')
-rw-r--r-- | actionpack/lib/action_view/template_handler.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/actionpack/lib/action_view/template_handler.rb b/actionpack/lib/action_view/template_handler.rb index b9f4330a23..8ce31ade49 100644 --- a/actionpack/lib/action_view/template_handler.rb +++ b/actionpack/lib/action_view/template_handler.rb @@ -13,5 +13,9 @@ module ActionView def compile(template) end + + # Called by CacheHelper#cache + def cache_fragment(block, name = {}, options = nil) + end end end |