app/views/trestle/shared/_sidebar.html.erb in trestle-0.8.9 vs app/views/trestle/shared/_sidebar.html.erb in trestle-0.8.10
- old
+ new
@@ -5,10 +5,12 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
- <%= link_to trestle_title, Trestle.config.path, class: "navbar-brand" %>
+ <%= link_to Trestle.config.root, class: "navbar-brand" do %>
+ <%= hook("view.title") { render "trestle/shared/title" } %>
+ <% end %>
</header>
<div class="app-sidebar-inner">
<nav class="app-nav">
<% collapsed = cookies["trestle:navigation:collapsed"].try(:split, ",") || [] %>