diff --git a/lib/rubocop/cop/rails/http_positional_arguments.rb b/lib/rubocop/cop/rails/http_positional_arguments.rb index 361e5e5b2c..d5d9298c47 100644 --- a/lib/rubocop/cop/rails/http_positional_arguments.rb +++ b/lib/rubocop/cop/rails/http_positional_arguments.rb @@ -24,7 +24,7 @@ class HttpPositionalArguments < Base MSG = 'Use keyword arguments instead of positional arguments for http call: `%s`.' KEYWORD_ARGS = %i[method params session body flash xhr as headers env to].freeze - ROUTING_METHODS = %i[draw routes].freeze + ROUTING_METHODS = %i[draw routes append].freeze RESTRICT_ON_SEND = %i[get post put patch delete head].freeze minimum_target_rails_version 5.0