]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api_controller.rb
updates to api
[rails.git] / app / controllers / api_controller.rb
index 1eda437010c88ff2c9a2faf913fd7e9cd822d611..8e4004dd15652aa3bb4f1dfa5c7cf83da2f5f5fe 100644 (file)
@@ -9,10 +9,6 @@ class ApiController < ApplicationController
   #COUNT is the number of map requests to allow before exiting and starting a new process
   @@count = COUNT
 
   #COUNT is the number of map requests to allow before exiting and starting a new process
   @@count = COUNT
 
-  def authorize_web
-    @current_user = User.find_by_token(session[:token])
-  end
-
   # The maximum area you're allowed to request, in square degrees
   MAX_REQUEST_AREA = 0.25
 
   # The maximum area you're allowed to request, in square degrees
   MAX_REQUEST_AREA = 0.25