fixes #2838
This commit is contained in:
@@ -13,7 +13,7 @@ class CommentVotesController < ApplicationController
|
||||
|
||||
def destroy
|
||||
@comment = Comment.find(params[:comment_id])
|
||||
@comment.unvote!(params[:score])
|
||||
@comment.unvote!
|
||||
rescue CommentVote::Error => x
|
||||
@error = x
|
||||
render status: 500
|
||||
|
||||
Reference in New Issue
Block a user