about summary refs log tree commit diff
path: root/app/views/api/statuses/context.rabl
blob: 71aff690d3fabd66686329f8cf32d59e03a5b571 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
object false

node :ancestors do
  @ancestors.map do |status|
    partial('api/statuses/show', object: status)
  end
end

node :descendants do
  @descendants.map do |status|
    partial('api/statuses/show', object: status)
  end
end