Impressionist
This commit is contained in:
parent
2c6c5d9918
commit
9b8febb80b
|
@ -3,9 +3,7 @@
|
|||
class PageContext
|
||||
include Mongoid::Document
|
||||
include Mongoid::Timestamps
|
||||
include Impressionist::Impressionable
|
||||
|
||||
is_impressionable :counter_cache => { :column_name => :view_count }
|
||||
include OrbitModel::Impression
|
||||
|
||||
field :update_user_id
|
||||
field :version, :type => Integer , :default => 0
|
||||
|
|
Loading…
Reference in New Issue