Sha256: 6e2c6812bfa32936b2c4bedbdcd9c6fbf7789471b8409c9396d6933bbe6dd3bc

Contents?: true

Size: 333 Bytes

Versions: 2

Compression:

Stored size: 333 Bytes

Contents

require 'helpers'

module BreadcrumbsHelper
	def render_breadcrumbs(options={})
		br_options = options.dup
		br_options[:class] = parse_html_classes_to_arr br_options[:class]
		br_options[:class] << 'breadcrumb'
		render :partial => 'twitter-bootstrap/breadcrumbs', :layout => false, locals: {options: br_options}
	end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
twitter-bootstrap-for-rails-1.3.4 app/helpers/breadcrumbs_helper.rb
twitter-bootstrap-for-rails-1.3.3 app/helpers/breadcrumbs_helper.rb