]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/old_node_controller.rb
Disable CSRF token verification for API methods
[rails.git] / app / controllers / old_node_controller.rb
index 4a1253034ac90f49464b6d99f922e2c6e9cce921..615213ac18996f3a4418cbd71fd49d1c4ea7d9c2 100644 (file)
@@ -1,6 +1,7 @@
 class OldNodeController < ApplicationController
   require 'xml/libxml'
 
+  skip_before_filter :verify_authenticity_token
   before_filter :check_api_readable
   after_filter :compress_output
   around_filter :api_call_handle_error, :api_call_timeout