Add commentary changes link to profiles

This commit is contained in:
Toks
2013-11-22 09:03:52 -05:00
parent 19125bf2ee
commit 6e8afed135
3 changed files with 15 additions and 2 deletions

View File

@@ -121,6 +121,10 @@ class UserPresenter
template.link_to(user.artist_version_count, template.artist_versions_path(:search => {:updater_id => user.id}))
end
def artist_commentary_version_count(template)
template.link_to(user.artist_commentary_version_count, template.artist_commentary_versions_path(:search => {:updater_id => user.id}))
end
def forum_post_count(template)
template.link_to(user.forum_post_count, template.forum_posts_path(:search => {:creator_id => user.id}))
end