diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 0b201b0..8bd19c1 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -222,7 +222,7 @@ module ApplicationHelper end def dislpay_view_count(object) - "#{t(:view_count)}: #{Impression.where(:impressionable_id=>b.id).count}" + "#{t(:view_count)}: #{Impression.where(:impressionable_id=>object.id).count}" end def display_visitors(options={})