]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/swf_controller.rb
Improve test coverage
[rails.git] / app / controllers / swf_controller.rb
index 8d907d850b37bddbe4cf044391486d8a73cb062c..b7ec2714e7b64987cd2bd75e9d97b3a804170624 100644 (file)
@@ -1,6 +1,6 @@
 class SwfController < ApplicationController
-  skip_before_filter :verify_authenticity_token
-  before_filter :check_api_readable
+  skip_before_action :verify_authenticity_token
+  before_action :check_api_readable
 
   # to log:
   # RAILS_DEFAULT_LOGGER.error("Args: #{args[0]}, #{args[1]}, #{args[2]}, #{args[3]}")