Impressionist

This commit is contained in:
manson 2014-05-15 19:29:59 +08:00
parent 2c6c5d9918
commit 9b8febb80b
1 changed files with 1 additions and 3 deletions

View File

@ -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