]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api/traces_controller.rb
Simplify deny_access handling
[rails.git] / app / controllers / api / traces_controller.rb
index d7f2f043a3182b28cd15710e05ab69f66e339cbf..47dd152a3fa6bc53bb38e8929865789fc37074a4 100644 (file)
@@ -1,12 +1,10 @@
 module Api
-  class TracesController < ApplicationController
+  class TracesController < ApiController
     layout "site", :except => :georss
 
-    skip_before_action :verify_authenticity_token
     before_action :authorize_web
     before_action :set_locale
     before_action :authorize
-    before_action :api_deny_access_handler
 
     authorize_resource