Sha256: e8241a64018dee35c1151c2c30fbb06cdd306457f9c5145a70fcb44ab2852dfc
Contents?: true
Size: 386 Bytes
Versions: 2
Compression:
Stored size: 386 Bytes
Contents
class Spree::Comment < ActiveRecord::Base include ActsAsCommentable::Comment belongs_to :commentable, :polymorphic => true belongs_to :comment_type default_scope { order('created_at ASC') } # NOTE: install the acts_as_votable plugin if you # want user to vote on the quality of comments. #acts_as_voteable # NOTE: Comments belong to a user belongs_to :user end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
solidus_comments-1.0.1 | app/models/spree/comment.rb |
solidus_comments-1.0.0 | app/models/spree/comment.rb |