Sha256: e181d1b3ec6f9118df446f7ad1309f1fe959b18a4e66448cb4b056924c0d10ed

Contents?: true

Size: 292 Bytes

Versions: 2

Compression:

Stored size: 292 Bytes

Contents

module TwitterBreadcrumbsHelper
  def render_breadcrumbs(options = {}, &block)
    return unless breadcrumbs?
    content = render(options[:partial] || 'bootstrap_sass_extras/breadcrumbs')
    if block_given?
      capture(content, &block)
    else
      content
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bootstrap-sass-extras-0.1.0 app/helpers/twitter_breadcrumbs_helper.rb
bootstrap-sass-extras-0.0.7 app/helpers/twitter_breadcrumbs_helper.rb