X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f2aaec4735d70868edf7aaa60ec2b1c64194cac3..86fae8980d97ba7fdd9345eb5e372fd4f8f20b7f:/app/controllers/api/ways_controller.rb?ds=sidebyside diff --git a/app/controllers/api/ways_controller.rb b/app/controllers/api/ways_controller.rb index 7878c8701..27c4a1fcc 100644 --- a/app/controllers/api/ways_controller.rb +++ b/app/controllers/api/ways_controller.rb @@ -1,14 +1,11 @@ module Api class WaysController < ApiController - before_action :check_api_readable before_action :check_api_writable, :only => [:create, :update, :delete] before_action :authorize, :only => [:create, :update, :delete] authorize_resource before_action :require_public_data, :only => [:create, :update, :delete] - around_action :api_call_handle_error, :api_call_timeout - before_action :set_request_formats, :except => [:create, :update, :delete] before_action :check_rate_limit, :only => [:create, :update, :delete]