unregistered users will see the smile_count if at least someone smiled the answer
This commit is contained in:
parent
be78c449a0
commit
a34972379f
|
@ -1,5 +1,6 @@
|
||||||
%span.hidden-xs.text-muted
|
%span.hidden-xs.text-muted
|
||||||
- unless user_signed_in?
|
- unless user_signed_in?
|
||||||
|
- if a.smile_count > 0
|
||||||
%span{id: "ab-smile-count-#{a.id}"}= a.smile_count
|
%span{id: "ab-smile-count-#{a.id}"}= a.smile_count
|
||||||
users smiled this
|
users smiled this
|
||||||
- if user_signed_in?
|
- if user_signed_in?
|
||||||
|
|
Loading…
Reference in New Issue