]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/amf_controller.rb
Disable CSRF token verification for API methods
[rails.git] / app / controllers / amf_controller.rb
index 329fab5734f1f58e2c98bb01a69a9b5f52dbf637..b472ae05c67ac58583c2c7dfac482b1c6816e3c0 100644 (file)
@@ -41,6 +41,7 @@ class AmfController < ApplicationController
   # Help methods for checking boundary sanity and area size
   include MapBoundary
 
+  skip_before_filter :verify_authenticity_token
   before_filter :check_api_writable
 
   # Main AMF handlers: process the raw AMF string (using AMF library) and