photomix/app/views/albums/show.html.erb
2009-06-03 01:33:39 +02:00

7 lines
286 B
Plaintext

<% for photo in @album.photos %>
<%= link_to image_tag( photo.path_modified_public("album") ), photo %>
<% end %>
<br /><%= link_to "Update album", edit_album_path(@album) %>
<br /><%= link_to "Upload photos", upload_album_path(@album) %>
<br /><%= link_to "All albums", albums_path %>