comments: link votes page in subnav for mods.
This commit is contained in:
@@ -3,4 +3,8 @@ class CommentVotePolicy < ApplicationPolicy
|
||||
# XXX permissions are checked in Comment#unvote!
|
||||
true
|
||||
end
|
||||
|
||||
def can_see_votes?
|
||||
user.is_moderator?
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user