app/models/commontator/comment.rb in commontator-1.1.0 vs app/models/commontator/comment.rb in commontator-1.1.1
- old
+ new
@@ -84,6 +84,8 @@
def can_be_voted_on_by?(user)
can_be_voted_on? && !thread.is_closed? &&\
thread.can_be_read_by?(user) && user != creator
end
end
+
+ CommentObserver.instance
end