]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/changeset_controller.rb
Patching better 412 error messages from mis-commit on old api06 branch.
[rails.git] / app / controllers / changeset_controller.rb
index 4913a600e1d036a5c0e41dcdbd35b97764acd32d..243609290e9fc0e8b5379b7ce2a9b9979ac1c926 100644 (file)
@@ -356,6 +356,10 @@ class ChangesetController < ApplicationController
     else
       #TODO: fix bugs in location determination for history tab (and other tabs) then uncomment this redirect
       #redirect_to :action => 'list'
+      
+      # For now just render immediately, and skip the db
+      render
+      return
     end
        
     conditions = conditions_bbox(bbox);