diff --git a/plugins/comment_group/lib/comment_group_plugin/macros/allow_comment.rb b/plugins/comment_group/lib/comment_group_plugin/macros/allow_comment.rb index 0afd736..c4258f9 100644 --- a/plugins/comment_group/lib/comment_group_plugin/macros/allow_comment.rb +++ b/plugins/comment_group/lib/comment_group_plugin/macros/allow_comment.rb @@ -16,6 +16,9 @@ class CommentGroupPlugin::AllowComment < Noosfero::Plugin::Macro article = source count = article.group_comments.without_spam.in_group(group_id).count - proc {render :partial => 'comment_group_plugin_profile/comment_group', :locals => {:group_id => group_id, :article_id => article.id, :inner_html => inner_html, :count => count, :profile_identifier => article.profile.identifier }} + proc { + render :partial => 'comment_group_plugin_profile/comment_group', + :locals => {:group_id => group_id, :article_id => article.id, :inner_html => inner_html, :count => count, :profile_identifier => article.profile.identifier } + } end end diff --git a/plugins/comment_group/views/comment_group_plugin_profile/_comment_group.html.erb b/plugins/comment_group/views/comment_group_plugin_profile/_comment_group.html.erb index 21856ae..3b04529 100644 --- a/plugins/comment_group/views/comment_group_plugin_profile/_comment_group.html.erb +++ b/plugins/comment_group/views/comment_group_plugin_profile/_comment_group.html.erb @@ -3,7 +3,6 @@