X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/01aa27031526280d8b1d219902a7b4c97617d19f..b5d0de88eab8b22bedec7fd7cc34552caa1584ab:/app/controllers/browse_controller.rb diff --git a/app/controllers/browse_controller.rb b/app/controllers/browse_controller.rb index cb866eb3f..d9b18769c 100644 --- a/app/controllers/browse_controller.rb +++ b/app/controllers/browse_controller.rb @@ -95,11 +95,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