app/views/shared/knitkit/_bread_crumb.html.erb in knitkit-2.1.15 vs app/views/shared/knitkit/_bread_crumb.html.erb in knitkit-3.0.0

- old
+ new

@@ -1,7 +1,10 @@ -<% links.each do |link| %> -<% unless link[:title] == links.first[:title]%> -> -<%end %> -<a href="<%= link[:url] %>"><%=link[:title]%></a> -<% end %> -<br/> +<ol class="breadcrumb"> + <% links.each do |link| %> + <% if link[:title] == links.last[:title] %> + <li class="active"><%= link[:title] %></li> + <% else %> + <li><a href="<%= link[:url] %>"><%= link[:title] %></a></li> + <% end %> + <% end %> + <br/> +</ol> \ No newline at end of file