2016-11-03 13:59:31 +01:00
|
|
|
object @context
|
|
|
|
cache false
|
2016-09-16 00:21:51 +02:00
|
|
|
|
2016-11-03 13:59:31 +01:00
|
|
|
node :ancestors do |context|
|
|
|
|
partial 'api/v1/statuses/index', object: context.ancestors
|
2016-09-16 00:21:51 +02:00
|
|
|
end
|
|
|
|
|
2016-11-03 13:59:31 +01:00
|
|
|
node :descendants do |context|
|
|
|
|
partial 'api/v1/statuses/index', object: context.descendants
|
2016-09-16 00:21:51 +02:00
|
|
|
end
|