fixed comment hiding
This commit is contained in:
@@ -40,7 +40,7 @@ private
|
||||
def index_for_post
|
||||
@post = Post.find(params[:post_id])
|
||||
@comments = @post.comments
|
||||
@comments = @comments.visible unless params[:include_hidden]
|
||||
@comments = @comments.visible(CurrentUser.user) unless params[:include_below_threshold]
|
||||
render :action => "index_for_post"
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user