Commit ffb967155856eac2a83d03bbf6ddd680a1bb890e
1 parent
f9324b42
Exists in
master
and in
22 other branches
[macro-support-review] Removing as_thread call
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
plugins/comment_group/controllers/profile/comment_group_plugin_profile_controller.rb
... | ... | @@ -8,7 +8,7 @@ class CommentGroupPluginProfileController < ProfileController |
8 | 8 | article = profile.articles.find(article_id) |
9 | 9 | comments = article.group_comments.without_spam.in_group(group_id) |
10 | 10 | render :update do |page| |
11 | - page.replace_html "comments_list_group_#{group_id}", :partial => 'comment/comment.rhtml', :collection => comments.as_thread | |
11 | + page.replace_html "comments_list_group_#{group_id}", :partial => 'comment/comment.rhtml', :collection => comments | |
12 | 12 | page.replace_html "comment-count-#{group_id}", comments.count |
13 | 13 | end |
14 | 14 | end | ... | ... |