Fix displaying visit count
This commit is contained in:
parent
3e4672d2ab
commit
42a17f6c19
|
@ -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={})
|
||||||
|
|
Loading…
Reference in New Issue