Skip to content

Commit

Permalink
DNM: Experiments publiclab#6
Browse files Browse the repository at this point in the history
  • Loading branch information
yukiisbored committed Dec 30, 2016
1 parent 1ff0b6c commit de9bfe9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/models/drupal_node_counter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,9 @@ class DrupalNodeCounter < ActiveRecord::Base

belongs_to :drupal_node, :foreign_key => 'nid', :dependent => :destroy

is_impressionable

def totalcount
impressionist_count(:filter=>:ip_address)
end
end

0 comments on commit de9bfe9

Please sign in to comment.