fixed a bug in the stream partial to use object_path

This commit is contained in:
maxwell 2010-11-08 21:16:46 -08:00
parent 77fe7a1462
commit 56c152ac6a

View file

@ -25,7 +25,7 @@
= render type_partial(post), :post => post
.info
%span.time= link_to(how_long_ago(post), photo_path(post))
%span.time= link_to(how_long_ago(post), object_path(post))
= link_to "#{t('.show_comments')} (#{post.comments.count})", '#', :class => "show_post_comments"
= render "comments/comments", :post => post