X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/52e5fa6ad78f375cec5a207a123a4aa3939c8ddf..2d26d1f7644f0e1a4041339bad4c4570806fcac7:/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