]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/trace_controller.rb
Only use SystemTimer on MRI 1.8 as it is superfluous elsewhere
[rails.git] / app / controllers / trace_controller.rb
index 1ca28246f9ce0a723a85dd4be733f8a02f3fdbcd..cdfa5e3cbe76f60b460fb1e8843225b6a00a101d 100644 (file)
@@ -1,6 +1,7 @@
 class TraceController < ApplicationController
   layout 'site'
 
+  skip_before_filter :verify_authenticity_token, :only => [:api_create, :api_read, :api_update, :api_delete, :api_data]
   before_filter :authorize_web
   before_filter :set_locale
   before_filter :require_user, :only => [:mine, :create, :edit, :delete]