Disallow a user from seeing flagger's name on own uploads

This commit is contained in:
BrokenEagle
2017-11-07 20:02:03 -08:00
parent af7c109912
commit 5b4ab8d80e
8 changed files with 52 additions and 8 deletions

View File

@@ -30,7 +30,7 @@ class PostEvent
true
when PostFlag
flag = event
user.can_view_flagger?(flag.creator_id)
user.can_view_flagger_on_post?(flag)
end
end