Method: Analytic::Dashboard#views
- Defined in:
- app/models/analytic/dashboard.rb
#views ⇒ Stat
16 17 18 19 20 21 22 |
# File 'app/models/analytic/dashboard.rb', line 16 def views Stat.new( current: current.count, prior: prior&.count, name: 'Views' ) end |