trabajo-afectivo/app/views/knowledge_base/public/_breadcrumb.html.erb

14 lines
405 B
Text
Raw Permalink Normal View History

2019-06-04 03:40:48 +00:00
<nav class="breadcrumbs">
<div class="container">
<% ([knowledge_base] + objects).each do |object| %>
<%= 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>
<%= breadcrumb_text_for(object) %>
2019-06-04 03:40:48 +00:00
</span>
<% end %>
<% end %>
</div>
</nav>