Commit 4eb8da90 by Kevin Chugh

bug fix

parent e7334f79
......@@ -52,7 +52,7 @@ class Content
contributors << c.author_id
contributors << c["votes"]["up"]
contributors << c["votes"]["down"]
votes += c["votes"]["count"]
vote_count += c["votes"]["count"]
if c._type == "ContentThread"
thread_count += 1
elsif c._type == "Comment"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment