]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/browse_controller.rb
Rework the signup page
[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)
     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
     else
       raise
     end
   rescue Timeout::Error
-    render :action => "timeout", :status => :request_timeout
+    render :action => "timeout"
   end
 end
   end
 end