diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-03-22 04:09:09 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-03-22 04:09:28 +0100 |
commit | 88f32708c3801c5be413641be092db6fcbe5b013 (patch) | |
tree | 3ac90b533cc5eafd9522f819295ed8b30aa2799b /app/views/api/v1/search/index.rabl | |
parent | acfee0945cb2b552be71e7c33b437ca6e8e8d988 (diff) |
Web UI support for the new omnisearch
Diffstat (limited to 'app/views/api/v1/search/index.rabl')
-rw-r--r-- | app/views/api/v1/search/index.rabl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/api/v1/search/index.rabl b/app/views/api/v1/search/index.rabl index d10ac9e0f..8d1640f2d 100644 --- a/app/views/api/v1/search/index.rabl +++ b/app/views/api/v1/search/index.rabl @@ -1,6 +1,6 @@ object @search -child accounts: :accounts do +child :accounts, object_root: false do extends 'api/v1/accounts/show' end @@ -8,6 +8,6 @@ node(:hashtags) do |search| search.hashtags.map(&:name) end -child statuses: :statuses do +child :statuses, object_root: false do extends 'api/v1/statuses/show' end |