]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api/notes_controller.rb
Merge remote-tracking branch 'upstream/pull/1926'
[rails.git] / app / controllers / api / notes_controller.rb
index 20a24ce997bbe10a6aaf546d2f0131b91a4abb47..fc9167eb382e8864aa2929ef4a69083eca7f010b 100644 (file)
@@ -4,7 +4,7 @@ module Api
 
     before_action :check_api_readable
     before_action :setup_user_auth, :only => [:create, :comment, :show]
-    before_action :authorize, :only => [:close, :reopen, :destroy]
+    before_action :authorize, :only => [:close, :reopen, :destroy, :comment]
 
     authorize_resource