Class: Enki::Stats

Inherits:
Object
  • Object
show all
Defined in:
app/models/enki/stats.rb

Instance Method Summary collapse

Instance Method Details

#comment_countObject



11
12
13
# File 'app/models/enki/stats.rb', line 11

def comment_count
  Comment.count
end

#page_countObject



7
8
9
# File 'app/models/enki/stats.rb', line 7

def page_count
  Page.count
end

#post_countObject



3
4
5
# File 'app/models/enki/stats.rb', line 3

def post_count
  Post.count
end

#tag_countObject



15
16
17
# File 'app/models/enki/stats.rb', line 15

def tag_count
  Tag.count
end