Skip to content
This repository
Browse code

分隔符前后增加一个字符更符合原版bootstrap的效果

  • Loading branch information...
commit 764eb31f38445844404863ca77598bde35497fad 1 parent 491b812
wuweixin wuwx authored

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. +3 3 lib/bootstrap_helper/breadcrumb.rb
6 lib/bootstrap_helper/breadcrumb.rb
@@ -53,14 +53,14 @@ def render_breadcrumb
53 53 if i == (@breadcrumbs.length - 1)
54 54 breadcrumb_content = c
55 55 else
56   - breadcrumb_content = c + content_tag(:span, "/", :class => "divider")
  56 + breadcrumb_content = c + " " + content_tag(:span, "/", :class => "divider")
57 57 end
58 58
59   - crumb += content_tag(:li, breadcrumb_content ,:class => breadcrumb_class )
  59 + crumb += content_tag(:li, breadcrumb_content ,:class => breadcrumb_class ) + "\n"
60 60 end
61 61 return prefix + content_tag(:ul, crumb, :class => "breadcrumb menu clearfix")
62 62 end
63 63 end
64 64 end
65 65
66   -end
  66 +end

0 comments on commit 764eb31

Please sign in to comment.
Something went wrong with that request. Please try again.