You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
232 B

  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