Fix #4374: Unvoting comments is broken.
This commit is contained in:
@@ -1,2 +1,6 @@
|
||||
class CommentVotePolicy < ApplicationPolicy
|
||||
def destroy?
|
||||
# XXX permissions are checked in Comment#unvote!
|
||||
true
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user