X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f2aaec4735d70868edf7aaa60ec2b1c64194cac3..d8d40cf29e75b2250bac34b246431106f9a478ba:/app/controllers/api/changeset_comments_controller.rb?ds=inline diff --git a/app/controllers/api/changeset_comments_controller.rb b/app/controllers/api/changeset_comments_controller.rb index c1980e80b..c180571c5 100644 --- a/app/controllers/api/changeset_comments_controller.rb +++ b/app/controllers/api/changeset_comments_controller.rb @@ -1,15 +1,13 @@ module Api class ChangesetCommentsController < ApiController - before_action :check_api_readable before_action :check_api_writable before_action :authorize authorize_resource before_action :require_public_data, :only => [:create] + before_action :set_request_formats - around_action :api_call_handle_error - around_action :api_call_timeout ## # Add a comment to a changeset