Put back impressions for new and bulletin.
Add view_count field to tag.
This commit is contained in:
1 parent
4d7a53866e
commit
f3ccbce5c8
3 files changed
+4
-2
No files matched your search
@@ -4,7 +4,9 @@ class Tag
|
||||
include Impressionist::Impressionable
|
||||
|
||||
is_impressionable :counter_cache => { :column_name => :view_count }
|
||||
|
||||
field :key
|
||||
field :view_count, :type => Integer, :default => 0
|
||||
#field :cloud_amper,:type: Integer,:default=> 0
|
||||
belongs_to :module_app
|
||||
|
||||
|
||||
Reference in new issue
Block a user