Permalink
Browse files

pass block through to tab_for

  • Loading branch information...
1 parent ec669a0 commit ca9385311590823fff9c86f7b9a43eed877de5e1 @cgs cgs committed Mar 14, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/tabs_on_rails/tabs.rb
@@ -38,8 +38,8 @@ def initialize(context, options = {})
end # end
end
- def method_missing(*args)
- @builder.tab_for(*args)
+ def method_missing(*args, &block)
+ @builder.tab_for(*args, &block)
end
def render(&block)

0 comments on commit ca93853

Please sign in to comment.