Class: Decidim::Comments::CommentVote
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Decidim::Comments::CommentVote
- Includes:
- DownloadYourData
- Defined in:
- decidim-comments/app/models/decidim/comments/comment_vote.rb
Overview
A comment can include user votes. A user should be able to upVote, votes with weight 1 and downVote, votes with weight -1.