Module: Polemic::CommentableMethods

Defined in:
lib/polemic/commentable_methods.rb

Instance Method Summary collapse

Instance Method Details

#total_commentsObject



3
4
5
# File 'lib/polemic/commentable_methods.rb', line 3

def total_comments
  comments.actual.count
end