diff options
author | Sean McGivern <sean@gitlab.com> | 2019-04-29 07:38:49 +0000 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2019-04-29 07:38:49 +0000 |
commit | e6f548fcd87a9e724c80980098c9137081b96be4 (patch) | |
tree | b4b0a4052af15abb119e55ffa485c8e0e3d68752 /lib | |
parent | 4047e5b8275490288e7ce38ae48e3f7248e5daf8 (diff) | |
parent | 266ba11ed77f00f5fd83070a85c0bc8101203eab (diff) | |
download | gitlab-ce-e6f548fcd87a9e724c80980098c9137081b96be4.tar.gz |
Merge branch 'sh-fix-profiler-ruby-5.1' into 'master'28996-automatic-https-certificate-creation-renewal-for-pages-custom-domains-228996-automatic-https-certificate-creation-renewal-for-pages-custom-domains
Fix Profiler to work with Rails 5.1
Closes #61051
See merge request gitlab-org/gitlab-ce!27774
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/profiler.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/profiler.rb b/lib/gitlab/profiler.rb index 28ed587f5c7..890228e5e78 100644 --- a/lib/gitlab/profiler.rb +++ b/lib/gitlab/profiler.rb @@ -73,7 +73,7 @@ module Gitlab result = with_custom_logger(logger) do with_user(user) do - RubyProf.profile { app.public_send(verb, url, post_data, headers) } # rubocop:disable GitlabSecurity/PublicSend + RubyProf.profile { app.public_send(verb, url, params: post_data, headers: headers) } # rubocop:disable GitlabSecurity/PublicSend end end |