diff --git a/plugins/comment_group_macro/lib/comment_group_macro_plugin.rb b/plugins/comment_group_macro/lib/comment_group_macro_plugin.rb index 8186537..7f8c13c 100644 --- a/plugins/comment_group_macro/lib/comment_group_macro_plugin.rb +++ b/plugins/comment_group_macro/lib/comment_group_macro_plugin.rb @@ -24,7 +24,7 @@ class CommentGroupMacroPlugin < Noosfero::Plugin article = source count = article.group_comments.without_spam.in_group(group_id).count - lambda {render :partial => 'plugins/comment_group_macro/views/comment_group.rhtml', :locals => {:group_id => group_id, :article_id => article.id, :inner_html => inner_html, :count => count, :profile_identifier => article.profile }} + lambda {render :partial => 'plugins/comment_group_macro/views/comment_group.rhtml', :locals => {:group_id => group_id, :article_id => article.id, :inner_html => inner_html, :count => count, :profile_identifier => article.profile.identifier }} end def macro_methods -- libgit2 0.21.2