weppos/tabs_on_rails — pull request #20 by ilstar (2012-05-23 06:01:54+00:00)
Title: a way to set default builder

Hi Weppos

Thank you created the amazing gem, it's very useful when generating menus, but in my website, I need a custom builder and call tabs_tag many times, it is repeated passing same argument like :builder => CustomBuilder, so I add a commit to implement this.

With this feature, we don't need adding argument like :builder => CustomBuilder on tabs_tag any more, just note we need put the custom_builder.rb into config/initializers because rails won't load that by default.

let me know please if something wrong :)