<% content_for :head do %> <% end %> <% content_for :javascript do %> <% end %>

<%= @album.title %>

<% if current_user %> <%= link_to "Edit album", edit_album_path( @album )%> <% end %> <%= link_to "Generate PDF", album_path( @album, :pdf) %>

<%= @album.description %>