diff --git a/app/models/page_context.rb b/app/models/page_context.rb index 0dff3b1..ce8d82d 100644 --- a/app/models/page_context.rb +++ b/app/models/page_context.rb @@ -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