photomix/app/views/albums/_album.html.erb
2009-05-22 14:13:46 +02:00

5 lines
129 B
Plaintext

<p><%= link_to album.title, album %>
<div id="photos">
<%= render :partial => album.photos.find(:all, :limit => 2) %>
</div>
</p>