1
0
Fork 1
forked from fedi/mastodon
mastodon/app/views/api/v1/statuses/context.rabl
2016-11-03 13:59:31 +01:00

11 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