index.rabl 232 B

12345678910111213
  1. object @search
  2. child :accounts, object_root: false do
  3. extends 'api/v1/accounts/show'
  4. end
  5. node(:hashtags) do |search|
  6. search.hashtags.map(&:name)
  7. end
  8. child :statuses, object_root: false do
  9. extends 'api/v1/statuses/show'
  10. end