From d2d5e9fc45ebecfa64d5bebadba2411255333944 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20Javier=20L=C3=B3pez?= Date: Wed, 6 Jun 2018 19:37:21 +0200 Subject: Disabling send cop --- lib/api/helpers/full_route_builder.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/api/helpers/full_route_builder.rb b/lib/api/helpers/full_route_builder.rb index 1afa1fc8249..bda160f671c 100644 --- a/lib/api/helpers/full_route_builder.rb +++ b/lib/api/helpers/full_route_builder.rb @@ -7,7 +7,7 @@ module API def self.full_url(api_route_name, params) return unless instance.respond_to? api_route_name - instance.expose_url(instance.send(api_route_name, params)) + instance.expose_url(instance.send(api_route_name, params)) # rubocop:disable GitlabSecurity/PublicSend end end end -- cgit v1.2.1