Fix #4374: Unvoting comments is broken.

This commit is contained in:
evazion
2020-03-28 21:15:51 -05:00
parent c5260f4927
commit 919a2868be
3 changed files with 35 additions and 2 deletions

View File

@@ -1,2 +1,6 @@
class CommentVotePolicy < ApplicationPolicy
def destroy?
# XXX permissions are checked in Comment#unvote!
true
end
end