X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/742291a840ea9dd741ef439e8678c50d1537973b..58e95f7ea46accda6359b187ce5936aad4ac5945:/app/controllers/api/notes_controller.rb diff --git a/app/controllers/api/notes_controller.rb b/app/controllers/api/notes_controller.rb index 20a24ce99..fc9167eb3 100644 --- a/app/controllers/api/notes_controller.rb +++ b/app/controllers/api/notes_controller.rb @@ -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