app/views/layouts/trestle/admin.html.erb in trestle-0.9.4 vs app/views/layouts/trestle/admin.html.erb in trestle-0.9.5

- old
+ new

@@ -38,11 +38,11 @@ <%= content_for(:head) %> <%= hook :head %> </head> - <body<%=raw " class=\"sidebar-#{cookies["trestle:sidebar"]}\"" if cookies["trestle:sidebar"] %>> + <%= content_tag :body, body_attributes do %> <div class="app-wrapper"> <%= render "trestle/shared/sidebar" %> <div class="app-container"> <%= render "trestle/shared/header" %> @@ -52,7 +52,7 @@ </main> <%= render "trestle/shared/footer" %> </div> </div> - </body> + <% end %> </html>