Sha256: 10d34b1fc91ffb641812c669dfd84b2750ec78a0a7933f8fe5dd2729db0b7a1a
Contents?: true
Size: 579 Bytes
Versions: 16
Compression:
Stored size: 579 Bytes
Contents
<% # cache important lookups hide_children = RefinerySetting.find_or_set(:menu_hide_children, false) siblings = nil # all pages in the top level menu have the same siblings, basically. %> <ul id='<%= dom_id ||= "menu" %>' class='menu clearfix'> <% @menu_pages.each do |page| -%> <%= render :partial => '/shared/menu_branch', :locals => { :page => page, :position => @menu_pages.index(page), :root => true, :siblings => ((siblings ||= page.shown_siblings) - [self]), :hide_children => hide_children } -%> <% end -%> </ul>
Version data entries
16 entries across 16 versions & 1 rubygems