diff options
author | Jochen Topf <jochen@topf.org> | 2012-01-25 21:26:22 +0100 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2012-01-25 21:26:22 +0100 |
commit | de903779fea3d3b52ddcfb4611780e94ca56749b (patch) | |
tree | 475bd4e59c90ac43b5f62bbdcb7d1142a6d0cdd8 /web/lib | |
parent | 28d7a98cabf28463c63df74cdfe1d30dfdb5fbd8 (diff) | |
download | taginfo-de903779fea3d3b52ddcfb4611780e94ca56749b.tar taginfo-de903779fea3d3b52ddcfb4611780e94ca56749b.tar.gz |
fix mime type for search suggest
Diffstat (limited to 'web/lib')
-rw-r--r-- | web/lib/ui/search.rb | 1 |
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 |