]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api/changeset_comments_controller.rb
Standardise on avoiding except lists for check_api_readable
[rails.git] / app / controllers / api / changeset_comments_controller.rb
index e8d3f4c3a8df2c5dbcc1ae77f864d77057846449..c1980e80b38159dfe3e96b3cd769491b952544c4 100644 (file)
@@ -1,7 +1,7 @@
 module Api
   class ChangesetCommentsController < ApiController
+    before_action :check_api_readable
     before_action :check_api_writable
-    before_action :check_api_readable, :except => [:create]
     before_action :authorize
 
     authorize_resource