/favorite_groups: add search, creators, timestamps, edit/delete links.

This commit is contained in:
evazion
2020-01-22 01:35:56 -06:00
parent 1aadd19663
commit edaf6323fd
8 changed files with 45 additions and 16 deletions

View File

@@ -88,7 +88,7 @@ class UserPresenter
end
def favorite_group_count(template)
template.link_to(user.favorite_group_count, template.user_favorite_groups_path(user.id))
template.link_to(user.favorite_group_count, template.favorite_groups_path(search: { creator_name: user.name }))
end
def comment_count(template)