From ffb967155856eac2a83d03bbf6ddd680a1bb890e Mon Sep 17 00:00:00 2001 From: Rodrigo Souto Date: Tue, 16 Jul 2013 18:02:51 -0300 Subject: [PATCH] [macro-support-review] Removing as_thread call --- plugins/comment_group/controllers/profile/comment_group_plugin_profile_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/comment_group/controllers/profile/comment_group_plugin_profile_controller.rb b/plugins/comment_group/controllers/profile/comment_group_plugin_profile_controller.rb index 8c31a25..9f765a2 100644 --- a/plugins/comment_group/controllers/profile/comment_group_plugin_profile_controller.rb +++ b/plugins/comment_group/controllers/profile/comment_group_plugin_profile_controller.rb @@ -8,7 +8,7 @@ class CommentGroupPluginProfileController < ProfileController article = profile.articles.find(article_id) comments = article.group_comments.without_spam.in_group(group_id) render :update do |page| - page.replace_html "comments_list_group_#{group_id}", :partial => 'comment/comment.rhtml', :collection => comments.as_thread + page.replace_html "comments_list_group_#{group_id}", :partial => 'comment/comment.rhtml', :collection => comments page.replace_html "comment-count-#{group_id}", comments.count end end -- libgit2 0.21.2