summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAhmad Sherif <me@ahmadsherif.com>2016-08-01 14:23:41 +0200
committerAhmad Sherif <me@ahmadsherif.com>2016-08-01 14:26:11 +0200
commit2e06800bfdb1fa46602beffce6ea8fb282e8a29a (patch)
treea4f1700fdd92140a247a6076fe9b908ef87d16ca /lib
parent8c6b85eca5e19ca676eaef156876614526176821 (diff)
downloadgitlab-ce-2e06800bfdb1fa46602beffce6ea8fb282e8a29a.tar.gz
Fix RequestProfiler::Middleware error when code is reloaded in developmentfix/request-profiler-middleware-error-on-reload
Closes #20452
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/request_profiler/middleware.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitlab/request_profiler/middleware.rb b/lib/gitlab/request_profiler/middleware.rb
index 8da8b754975..0c54f2dd71f 100644
--- a/lib/gitlab/request_profiler/middleware.rb
+++ b/lib/gitlab/request_profiler/middleware.rb
@@ -1,4 +1,5 @@
require 'ruby-prof'
+require 'gitlab/request_profiler'
module Gitlab
module RequestProfiler