Web UI support for the new omnisearch

This commit is contained in:
Eugen Rochko committed 2017-03-22 04:09:28 +01:00
1 parent acfee0945c
commit 88f32708c3
4 files changed
+43 -29

No files matched your search

+2 -2
View File
@@ -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