Setting up preliminary "detailed" routes in the UI, new API end-point for fetching status context

This commit is contained in:
Eugen Rochko 2016-09-16 00:21:51 +02:00
parent 2e7aac793a
commit 5b0cef9781
13 changed files with 400 additions and 12 deletions

View file

@ -0,0 +1,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