]> 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 1804ceb49f3f5af2c2c0b293c8c1e21a02685655..39706edf0b3b4e2228aa5c08735eaa4f748b5111 100644 (file)
@@ -1,10 +1,8 @@
 class ApiController < ApplicationController
 
+  session :off
   after_filter :compress_output
 
-  helper :user
-  model :user
-
   #COUNT is the number of map requests to allow before exiting and starting a new process
   @@count = COUNT
 
@@ -149,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