mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-16 11:45:19 +00:00
14 lines
232 B
Ruby
14 lines
232 B
Ruby
object @search
|
|
|
|
child :accounts, object_root: false do
|
|
extends 'api/v1/accounts/show'
|
|
end
|
|
|
|
node(:hashtags) do |search|
|
|
search.hashtags.map(&:name)
|
|
end
|
|
|
|
child :statuses, object_root: false do
|
|
extends 'api/v1/statuses/show'
|
|
end
|