photomix/app/views/photos/_thumb.html.erb
Alexander Negoda 954e3b68ae upd
2012-07-29 02:33:03 +04:00

1 line
159 B
Plaintext

<%= link_to image_tag(eval('photo.attachment.' + (defined?(photosize) ? photosize : "thumb") + '.url')), [photo.album.collections.first, photo.album, photo] %>