<% content_for(:title) { "Library | Writebook" } %> <% @layout_class = "books" %> <% content_for :header do %> <% end %> <% cache [ @books, signed_in? ] do %>
<%= render @books %> <%= render "books/new" if signed_in? %>
<% end %>