change favorites profile link

This commit is contained in:
Toks
2013-04-24 11:25:28 -04:00
parent 222bc8786b
commit 4a4224a732

View File

@@ -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)