From 4a4224a732dd16b8f78cc76f47a835f23cbc0d2c Mon Sep 17 00:00:00 2001 From: Toks Date: Wed, 24 Apr 2013 11:25:28 -0400 Subject: [PATCH] change favorites profile link --- app/presenters/user_presenter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)