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.
metu.life/app/views/api/v1/search/index.rabl

14 lines
212 B

object @search
child accounts: :accounts do
extends 'api/v1/accounts/show'
end
node(:hashtags) do |search|
search.hashtags.map(&:name)
end
child statuses: :statuses do
extends 'api/v1/statuses/show'
end