app/views/layouts/trestle/admin.html.erb in trestle-0.8.9 vs app/views/layouts/trestle/admin.html.erb in trestle-0.8.10
- old
+ new
@@ -34,17 +34,17 @@
<%= content_for(:head) %>
<%= hook :head %>
</head>
- <body<%= " class=\"sidebar-#{cookies["trestle:sidebar"]}\"" if cookies["trestle:sidebar"] %>>
+ <body<%=raw " class=\"sidebar-#{cookies["trestle:sidebar"]}\"" if cookies["trestle:sidebar"] %>>
<div class="app-wrapper">
<%= render "trestle/shared/sidebar" %>
<div class="app-container">
<%= render "trestle/shared/header" %>
- <main class="app-main" data-context="<%= request.path %>">
+ <main class="app-main" data-context="<%= request.fullpath %>">
<%= yield %>
</main>
<%= render "trestle/shared/footer" %>
</div>