Use size for counting bubble comments

This commit is contained in:
Jose Farias
2024-10-11 20:20:45 -05:00
parent ec7fc75054
commit 755cceb6bd
+1 -1
View File
@@ -8,7 +8,7 @@ module BubblesHelper
end
def bubble_size(bubble)
activity = bubble.boost_count + bubble.comments.count
activity = bubble.boost_count + bubble.comments.size
rank =
case activity
when 0..5 then "one"