Commit 3e31e192 by Kevin Chugh

return group id in to_hash

parent 678d215a
...@@ -175,6 +175,7 @@ class CommentThread < Content ...@@ -175,6 +175,7 @@ class CommentThread < Content
"votes" => votes.slice(*%w[count up_count down_count point]), "votes" => votes.slice(*%w[count up_count down_count point]),
"tags" => tags_array, "tags" => tags_array,
"type" => "thread", "type" => "thread",
"group_id" => group_id,
"endorsed" => endorsed?) "endorsed" => endorsed?)
if params[:recursive] if params[:recursive]
......
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