app/views/relation/_ancestors.html.erb in geoblacklight-2.3.0 vs app/views/relation/_ancestors.html.erb in geoblacklight-2.4.0
- old
+ new
@@ -2,10 +2,10 @@
<b><%= t('geoblacklight.relations.ancestor') %></b>
</li>
<% @relations.ancestors['docs'].each do |ancestor| %>
<li class="list-group-item">
<%= link_to solr_document_path(ancestor['layer_slug_s']) do %>
- <%= geoblacklight_icon('pagelines-brands') %>
+ <%= relations_icon(ancestor, 'pagelines-brands') %>
<%= ancestor['dc_title_s'] %>
<% end %>
</li>
<% end %>