From 1a4b5782ea916baeac98c5a2f5171df4e0bc5861 Mon Sep 17 00:00:00 2001 From: albert Date: Tue, 19 Feb 2013 21:52:03 -0500 Subject: [PATCH] fixes #451 --- 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 d10d1344a..e2586ed2c 100644 --- a/app/presenters/user_presenter.rb +++ b/app/presenters/user_presenter.rb @@ -66,7 +66,7 @@ class UserPresenter end def favorites(template) - template.link_to(user.favorite_count, template.favorites_path(:user_id => user.id)) + template.link_to(user.favorite_count, template.posts_path(:tags => "fav:#{user.name}")) end def comments(template)