diff options
author | Brian Neel <brian@gitlab.com> | 2017-08-04 05:20:34 +0300 |
---|---|---|
committer | Brian Neel <brian@gitlab.com> | 2017-08-08 17:50:54 +0300 |
commit | 9770c57fab0315865a33c8b6df269eded0d57b5c (patch) | |
tree | 5a7c7a9fccbce5ef3ccf6b02b1297aace41101fd /app/serializers/job_entity.rb | |
parent | b612a47da0e0225332a59ab961206f84602ad629 (diff) |
Re-enable SqlInjection and CommandInjection
Diffstat (limited to 'app/serializers/job_entity.rb')
-rw-r--r-- | app/serializers/job_entity.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/job_entity.rb b/app/serializers/job_entity.rb index d6de43bcbcb..72e56a2c77f 100644 --- a/app/serializers/job_entity.rb +++ b/app/serializers/job_entity.rb @@ -46,6 +46,6 @@ class JobEntity < Grape::Entity end def path_to(route, build) - send("#{route}_path", build.project.namespace, build.project, build) + send("#{route}_path", build.project.namespace, build.project, build) # rubocop:disable GitlabSecurity/PublicSend end end |