Fix #3941: Add ability to search users by inviter.

This commit is contained in:
evazion
2018-10-02 19:38:55 -05:00
parent abbe181de6
commit 0966a290e4
4 changed files with 15 additions and 17 deletions

View File

@@ -141,14 +141,6 @@ class UserPresenter
end
end
def inviter(template)
if user.inviter_id
template.link_to_user(user.inviter)
else
"None"
end
end
def appeal_count(template)
template.link_to(user.appeal_count, template.post_appeals_path(:search => {:creator_name => user.name}))
end