activitypub-academy/app/views/api/v1/statuses/context.rabl
2016-11-03 13:59:31 +01:00

10 lines
222 B
Ruby

object @context
cache false
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