diff --git a/app/presenters/user_presenter.rb b/app/presenters/user_presenter.rb index e2586ed2c..038676ed1 100644 --- a/app/presenters/user_presenter.rb +++ b/app/presenters/user_presenter.rb @@ -70,7 +70,7 @@ class UserPresenter end def comments(template) - template.link_to(Comment.for_user(user.id).count, template.comments_path(:search => {:creator_id => user.id})) + template.link_to(Comment.for_creator(user.id).count, template.comments_path(:search => {:creator_id => user.id})) end def post_versions(template) diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index 595a14d12..e15810367 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -44,6 +44,9 @@