]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api/traces_controller.rb
Standardise on avoiding except lists for check_api_readable
[rails.git] / app / controllers / api / traces_controller.rb
index d9b5bce258409b70501fd1033d4288d49ef8c688..a510655ca38a340b669c2944b42333669547a787 100644 (file)
@@ -1,6 +1,6 @@
 module Api
   class TracesController < ApiController
-    before_action :check_api_readable, :only => [:show, :data]
+    before_action :check_api_readable
     before_action :check_api_writable, :only => [:create, :update, :destroy]
     before_action :set_locale
     before_action :authorize