diff --git a/app/presenters/user_presenter.rb b/app/presenters/user_presenter.rb index 78b18d14a..711a908c1 100644 --- a/app/presenters/user_presenter.rb +++ b/app/presenters/user_presenter.rb @@ -76,7 +76,7 @@ class UserPresenter end def favorite_count(template) - template.link_to(user.favorite_count, template.posts_path(:tags => "fav:#{user.name}")) + template.link_to(user.favorite_count, template.favorites_path(:user_id => user.id)) end def comment_count(template)