def hide_comment(request, comment_id):
    comment = get_object_or_404(Comment, pk=comment_id)
    request.user.redis.hidden_comments.hide_comment(comment)

    Metrics.downvote_action.record(request, comment=comment.id)
    Metrics.hide_comment.record(request)