File size: 123 Bytes
f5071ca
 
 
 
 
1
2
3
4
5
6
@comments.each do |comment|
  json.set! comment.id do
    json.partial! 'api/comments/comment', comment: comment
  end
end