X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/bc07bf484b7ea69c70882ea735551a2f7755aaa6..27179c870656fdd7adbc42e8b76fec0227594be9:/app/controllers/search_controller.rb?ds=sidebyside diff --git a/app/controllers/search_controller.rb b/app/controllers/search_controller.rb index 622ebb1ce..dd7c2febe 100644 --- a/app/controllers/search_controller.rb +++ b/app/controllers/search_controller.rb @@ -32,13 +32,13 @@ class SearchController < ApplicationController if do_nodes response.headers['Error'] = "Searching of nodes is currently unavailable" - render :nothing => true, :status => :service_unavailable + render :text => "", :status => :service_unavailable return false end unless value response.headers['Error'] = "Searching for a key without value is currently unavailable" - render :nothing => true, :status => :service_unavailable + render :text => "", :status => :service_unavailable return false end