X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/84db1d66b7d819a4a777d2b9e5909cffe82c514e..d36fab2913d10bef4eae2cee7c34875f20311af9:/app/controllers/browse_controller.rb?ds=sidebyside diff --git a/app/controllers/browse_controller.rb b/app/controllers/browse_controller.rb index a77b0f94a..a511d67d3 100644 --- a/app/controllers/browse_controller.rb +++ b/app/controllers/browse_controller.rb @@ -86,11 +86,11 @@ private end rescue ActionView::TemplateError => ex if ex.original_exception.is_a?(Timeout::Error) - render :action => "timeout", :status => :request_timeout + render :action => "timeout" else raise end rescue Timeout::Error - render :action => "timeout", :status => :request_timeout + render :action => "timeout" end end