This repository has been archived on 2024-07-31. You can view files and clone it, but cannot push or open issues or pull requests.
2016-09-15 18:21:51 -04:00
|
|
|
object false
|
|
|
|
|
|
|
|
node :ancestors do
|
|
|
|
@ancestors.map do |status|
|
2016-09-27 10:58:23 -04:00
|
|
|
partial('api/v1/statuses/show', object: status)
|
2016-09-15 18:21:51 -04:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
node :descendants do
|
|
|
|
@descendants.map do |status|
|
2016-09-27 10:58:23 -04:00
|
|
|
partial('api/v1/statuses/show', object: status)
|
2016-09-15 18:21:51 -04:00
|
|
|
end
|
|
|
|
end
|