about summary refs log tree commit diff
path: root/app/views/api/v1/statuses/context.rabl
blob: 0b62f26d5520681399b2da8037fa14a8e05bcb15 (plain) (blame)
1
2
3
4
5
6
7
8
9
object @context

node :ancestors do |context|
  partial 'api/v1/statuses/index', object: context.ancestors
end

node :descendants do |context|
  partial 'api/v1/statuses/index', object: context.descendants
end