Sha256: 2b42d068b8e0723adb79e7e35957a7d834b5de8522c04085d15e41f9cf7b8896
Contents?: true
Size: 711 Bytes
Versions: 5
Compression:
Stored size: 711 Bytes
Contents
<ul class="breadcrumb"> <li><%= link_to "Home",admin_root_url %><span class="divider">/</span></li> <% if association_chain.count > 0 %> <li><%= link_to association_chain[0].class.model_name.human.pluralize,[:admin]+[association_chain[0].class] %><span class="divider">/</span></li> <% association_chain[1..-1].each do |ancestor| %> <li><%= link_to ancestor.class.model_name.human.pluralize,[:admin]+association_chain[0..(association_chain.find_index(ancestor))-1]+[ancestor.class] %><span class="divider">/</span></li> <% end %> <% end %> <li><%= link_to resource_class.model_name.human.pluralize,[:admin]+association_chain+[resource_class] %><span class="divider"></span></li> </ul>
Version data entries
5 entries across 5 versions & 1 rubygems