app/views/trestle/shared/_sidebar.html.erb in trestle-0.8.11 vs app/views/trestle/shared/_sidebar.html.erb in trestle-0.8.12
- old
+ new
@@ -13,10 +13,10 @@
</header>
<div class="app-sidebar-inner">
<nav class="app-nav">
<% collapsed = cookies["trestle:navigation:collapsed"].try(:split, ",") || [] %>
- <% Trestle.navigation.visible(self).each do |group, items| %>
+ <% Trestle.navigation(self).each do |group, items| %>
<ul<% if group.present? && collapsed.include?(group.id) %> class="collapsed"<% end %>>
<% if group.present? %>
<li class="nav-header"><%= link_to group.label, "##{group.id}" %></li>
<% end %>