diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-06-02 09:12:00 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-06-02 21:32:50 -0700 |
commit | 933697a5fc5f4c56c4fd7fbbd31b8973df9c1054 (patch) | |
tree | 44f55a5c801e94db8c3637c73dfc6db7f2c3350d /actionpack/lib/action_view/helpers/javascript_helper.rb | |
parent | da91450e687fe9faa7b0575062c2b2aacc261f68 (diff) | |
download | rails-933697a5fc5f4c56c4fd7fbbd31b8973df9c1054.tar.gz rails-933697a5fc5f4c56c4fd7fbbd31b8973df9c1054.tar.bz2 rails-933697a5fc5f4c56c4fd7fbbd31b8973df9c1054.zip |
Try replacing _erbout with @output_buffer
Diffstat (limited to 'actionpack/lib/action_view/helpers/javascript_helper.rb')
-rw-r--r-- | actionpack/lib/action_view/helpers/javascript_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/javascript_helper.rb b/actionpack/lib/action_view/helpers/javascript_helper.rb index 1ea3cbd74e..8c880dee2f 100644 --- a/actionpack/lib/action_view/helpers/javascript_helper.rb +++ b/actionpack/lib/action_view/helpers/javascript_helper.rb @@ -208,7 +208,7 @@ module ActionView private def block_is_within_action_view?(block) - eval("defined? _erbout", block.binding) + !@output_buffer.nil? end end |