diff options
author | Joshua Peek <josh@joshpeek.com> | 2008-07-15 14:41:38 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-07-15 14:43:52 -0500 |
commit | aca246ab25497bb6787d2e18680e9f73ad13d223 (patch) | |
tree | ad107ae39feb55960a4f6faf084b3ad8bc56cbec /actionpack/lib/action_view/template_handlers/rjs.rb | |
parent | 4f72feb84c25b54f66c7192c788b7fd965f2d493 (diff) | |
download | rails-aca246ab25497bb6787d2e18680e9f73ad13d223.tar.gz rails-aca246ab25497bb6787d2e18680e9f73ad13d223.tar.bz2 rails-aca246ab25497bb6787d2e18680e9f73ad13d223.zip |
Get buffer for fragment cache from template's @output_buffer
Diffstat (limited to 'actionpack/lib/action_view/template_handlers/rjs.rb')
-rw-r--r-- | actionpack/lib/action_view/template_handlers/rjs.rb | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/actionpack/lib/action_view/template_handlers/rjs.rb b/actionpack/lib/action_view/template_handlers/rjs.rb index 3892bf1d6e..a700655c9a 100644 --- a/actionpack/lib/action_view/template_handlers/rjs.rb +++ b/actionpack/lib/action_view/template_handlers/rjs.rb @@ -7,17 +7,6 @@ module ActionView "controller.response.content_type ||= Mime::JS;" + "update_page do |page|;#{template.source}\nend" end - - def cache_fragment(block, name = {}, options = nil) #:nodoc: - @view.fragment_for(block, name, options) do - begin - debug_mode, ActionView::Base.debug_rjs = ActionView::Base.debug_rjs, false - eval('page.to_s', block.binding) - ensure - ActionView::Base.debug_rjs = debug_mode - end - end - end end end end |