You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
239 B

  1. object false
  2. node :ancestors do
  3. @ancestors.map do |status|
  4. partial('api/v1/statuses/show', object: status)
  5. end
  6. end
  7. node :descendants do
  8. @descendants.map do |status|
  9. partial('api/v1/statuses/show', object: status)
  10. end
  11. end