module TwitterBreadcrumbsHelper

def render_bootstrap_breadcrumbs(divider = '/', options={}, &block)

def render_bootstrap_breadcrumbs(divider = '/', options={}, &block)
  default_options = { :class => '', :item_class => '', :divider_class => '', :active_class => 'active' }.merge(options)
  content = render :partial => 'twitter-bootstrap/breadcrumbs', :layout => false, :locals => { :divider => divider, options: options }
  if block_given?
    capture(content, &block)
  else
    content
  end
end