summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--web/lib/ui/search.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/lib/ui/search.rb b/web/lib/ui/search.rb
index d99cf69..8630cb6 100644
--- a/web/lib/ui/search.rb
+++ b/web/lib/ui/search.rb
@@ -63,6 +63,7 @@ END_XML
map{ |row| row['key'] }
end
+ content_type :json
if format == 'simple'
# simple format is used by the search box on the website itself,
# it is just a list of suggestions