added missing class to cubbies photos in the stream for the lightbox

This commit is contained in:
danielgrippi 2011-07-10 21:42:37 -07:00
parent d69f89f689
commit 875eaffd42

View file

@ -26,7 +26,7 @@
= link_to(how_long_ago(post), post_path(post))
- if post.activity_streams?
= link_to image_tag(post.image_url, 'data-small-photo' => post.image_url, 'data-full-photo' => post.image_url), post.object_url, :class => "stream-photo-link"
= link_to image_tag(post.image_url, 'data-small-photo' => post.image_url, 'data-full-photo' => post.image_url, :class => 'stream-photo'), post.object_url, :class => "stream-photo-link"
- else
= render 'status_messages/status_message', :post => post, :photos => post.photos