Don't send "408 Request timeout" responses from the data browser as it
[rails.git] / app / controllers / browse_controller.rb
index a77b0f94a48f71939e16243282e27735bd0f9ac2..a511d67d35fb54cc558ff124a894abf03469540f 100644 (file)
@@ -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