8 lines
292 B
Plaintext
8 lines
292 B
Plaintext
<h1><%= h @collection.title %></h1>
|
|
<p><%= h @collection.description %></p>
|
|
<%= render :partial => @collection.albums %>
|
|
|
|
<% if has_role?("admin") %>
|
|
<br /><%= link_to "Update collection", edit_collection_path(@collection) %>
|
|
<% end %>
|
|
<br /><%= link_to "All collections", collections_path %> |