Skip to content
This repository
Browse code

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

  • Loading branch information...
commit b31798b89141fc2cd7aadbc33c5cc89ac2f54d16 1 parent 5b0a32a
Michelangelo Altamore authored May 31, 2010

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  helpers/tabs_helper.rb
2  helpers/tabs_helper.rb
@@ -26,7 +26,7 @@ def create( tab_id, tab_text, options={}, &block )
26 26
     end
27 27
     
28 28
     def render
29  
-      content_tag( :div, ( render_tabs + render_bodies ), { :id => :tabs }.merge( @options ) )
  29
+      content_tag( :div, [render_tabs, render_bodies], { :id => :tabs }.merge( @options ) )
30 30
     end
31 31
     
32 32
     private #  ---------------------------------------------------------------------------

2 notes on commit b31798b

Kai De Sutter

thank you for this!

Michelangelo Altamore

you're welcome :)

Please sign in to comment.
Something went wrong with that request. Please try again.