]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api_controller.rb
Test changeset and note comment notification emails
[rails.git] / app / controllers / api_controller.rb
index 6bbbee1ce2b49771b5e81e7c3553db3dbb1377e5..caa2df9d81f622e92c4b0f01656968e91579bb3b 100644 (file)
@@ -1,9 +1,8 @@
 class ApiController < ApplicationController
-  skip_before_filter :verify_authenticity_token
-  before_filter :check_api_readable, :except => [:capabilities]
-  before_filter :setup_user_auth, :only => [:permissions]
-  after_filter :compress_output
-  around_filter :api_call_handle_error, :api_call_timeout
+  skip_before_action :verify_authenticity_token
+  before_action :check_api_readable, :except => [:capabilities]
+  before_action :setup_user_auth, :only => [:permissions]
+  around_action :api_call_handle_error, :api_call_timeout
 
   # Get an XML response containing a list of tracepoints that have been uploaded
   # within the specified bounding box, and in the specified page.