Fix displaying visit count

This commit is contained in:
manson 2014-04-09 11:34:45 +08:00
parent 3e4672d2ab
commit 42a17f6c19
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ module ApplicationHelper
end end
def dislpay_view_count(object) 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 end
def display_visitors(options={}) def display_visitors(options={})