X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/bc07bf484b7ea69c70882ea735551a2f7755aaa6..6618cb9019687c8c2edf74698f84b385c0d9edd6:/app/controllers/search_controller.rb 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