2019-06-04 03:40:48 +00:00
|
|
|
<nav class="breadcrumbs">
|
|
|
|
<div class="container">
|
|
|
|
<% ([knowledge_base] + objects).each do |object| %>
|
2019-09-18 17:25:04 +00:00
|
|
|
<%= link_to custom_path_if_needed(breadcrumb_path_for(object), knowledge_base), class: :breadcrumb do %>
|
2019-06-04 03:40:48 +00:00
|
|
|
<%= icon_for_object(object, knowledge_base.iconset) %>
|
|
|
|
|
|
|
|
<span>
|
2019-09-18 17:25:04 +00:00
|
|
|
<%= breadcrumb_text_for(object) %>
|
2019-06-04 03:40:48 +00:00
|
|
|
</span>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
</nav>
|