]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api_controller.rb
Various updates to the user management, including the creation of a
[rails.git] / app / controllers / api_controller.rb
index 7477ba91797c40cf0de7750586b74e91d2752f44..39706edf0b3b4e2228aa5c08735eaa4f748b5111 100644 (file)
@@ -1,5 +1,6 @@
 class ApiController < ApplicationController
 
+  session :off
   after_filter :compress_output
 
   #COUNT is the number of map requests to allow before exiting and starting a new process
@@ -146,6 +147,7 @@ class ApiController < ApplicationController
 
     if node_ids.length > 50_000
       report_error("You requested too many nodes (limit is 50,000). Either request a smaller area, or use planet.osm")
+      return
     end
 
     if node_ids.length == 0