Files
danbooru/app/policies/comment_vote_policy.rb
2020-03-28 21:15:51 -05:00

7 lines
131 B
Ruby

class CommentVotePolicy < ApplicationPolicy
def destroy?
# XXX permissions are checked in Comment#unvote!
true
end
end