diff --git a/lib/bootstrap_helper/breadcrumb.rb b/lib/bootstrap_helper/breadcrumb.rb index a02c708..04c2e2b 100644 --- a/lib/bootstrap_helper/breadcrumb.rb +++ b/lib/bootstrap_helper/breadcrumb.rb @@ -50,11 +50,7 @@ def render_breadcrumb breadcrumb_class << "first" if i == 0 breadcrumb_class << "last active" if i == (@breadcrumbs.length - 1) - if i == (@breadcrumbs.length - 1) - breadcrumb_content = c - else - breadcrumb_content = c + " " + content_tag(:span, "/", :class => "divider") - end + breadcrumb_content = c crumb += content_tag(:li, breadcrumb_content ,:class => breadcrumb_class ) + "\n" end