Permalink
Browse files

content to render placed into an array to satisfy rails >= 2.3.8

  • Loading branch information...
1 parent 5b0a32a commit b31798b89141fc2cd7aadbc33c5cc89ac2f54d16 @altamic altamic committed May 31, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 helpers/tabs_helper.rb
@@ -26,7 +26,7 @@ def create( tab_id, tab_text, options={}, &block )
end
def render
- content_tag( :div, ( render_tabs + render_bodies ), { :id => :tabs }.merge( @options ) )
+ content_tag( :div, [render_tabs, render_bodies], { :id => :tabs }.merge( @options ) )
end
private # ---------------------------------------------------------------------------

2 comments on commit b31798b

@kaiiserni

thank you for this!

@altamic
Contributor
altamic commented on b31798b Jun 8, 2010

you're welcome :)

Please sign in to comment.