aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/tag_helper.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2008-06-02 09:12:00 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2008-06-02 21:32:50 -0700
commit933697a5fc5f4c56c4fd7fbbd31b8973df9c1054 (patch)
tree44f55a5c801e94db8c3637c73dfc6db7f2c3350d /actionpack/lib/action_view/helpers/tag_helper.rb
parentda91450e687fe9faa7b0575062c2b2aacc261f68 (diff)
downloadrails-933697a5fc5f4c56c4fd7fbbd31b8973df9c1054.tar.gz
rails-933697a5fc5f4c56c4fd7fbbd31b8973df9c1054.tar.bz2
rails-933697a5fc5f4c56c4fd7fbbd31b8973df9c1054.zip
Try replacing _erbout with @output_buffer
Diffstat (limited to 'actionpack/lib/action_view/helpers/tag_helper.rb')
-rw-r--r--actionpack/lib/action_view/helpers/tag_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/tag_helper.rb b/actionpack/lib/action_view/helpers/tag_helper.rb
index 999cbfb52a..df3d69c0d8 100644
--- a/actionpack/lib/action_view/helpers/tag_helper.rb
+++ b/actionpack/lib/action_view/helpers/tag_helper.rb
@@ -126,7 +126,7 @@ module ActionView
end
def block_is_within_action_view?(block)
- eval("defined? _erbout", block.binding)
+ !@output_buffer.nil?
end
end
end