Commit 50facea9fd0579b5d3ae7cafcaca7f3640d38839
1 parent
b8264c55
Exists in
staging
and in
42 other branches
pass just the profile identifier not all the profile
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
plugins/comment_group_macro/lib/comment_group_macro_plugin.rb
@@ -24,7 +24,7 @@ class CommentGroupMacroPlugin < Noosfero::Plugin | @@ -24,7 +24,7 @@ class CommentGroupMacroPlugin < Noosfero::Plugin | ||
24 | article = source | 24 | article = source |
25 | count = article.group_comments.without_spam.in_group(group_id).count | 25 | count = article.group_comments.without_spam.in_group(group_id).count |
26 | 26 | ||
27 | - 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 }} | 27 | + 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 }} |
28 | end | 28 | end |
29 | 29 | ||
30 | def macro_methods | 30 | def macro_methods |