]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/amf_controller.rb
Fix some rubocop rails style issues
[rails.git] / app / controllers / amf_controller.rb
index 6c3e2c5cf2d272f4ee120153acb83a1fda3142b7..d7364d106c695a725e7f1f97dc4f35ae6b7097cf 100644 (file)
@@ -38,8 +38,8 @@
 class AmfController < ApplicationController
   include Potlatch
 
-  skip_before_filter :verify_authenticity_token
-  before_filter :check_api_writable
+  skip_before_action :verify_authenticity_token
+  before_action :check_api_writable
 
   # Main AMF handlers: process the raw AMF string (using AMF library) and
   # calls each action (private method) accordingly.