fixed a bug in the stream partial to use object_path
This commit is contained in:
parent
77fe7a1462
commit
56c152ac6a
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue