summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-12-24 15:43:45 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-12-24 15:43:45 +0200
commit63be16008e28e4bf728cf94550c6dabc8b146aaa (patch)
tree1f157be8cb728010d4f0a6a99484411fac93569b /config
parent5cf2bd4c997d84e9a02d722d6ba870c24b06cc0f (diff)
downloadgitlab-ce-63be16008e28e4bf728cf94550c6dabc8b146aaa.tar.gz
Hide rack profiler by default
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'config')
-rw-r--r--config/initializers/6_rack_profiler.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/initializers/6_rack_profiler.rb b/config/initializers/6_rack_profiler.rb
index c83e5105a61..b6340287569 100644
--- a/config/initializers/6_rack_profiler.rb
+++ b/config/initializers/6_rack_profiler.rb
@@ -4,4 +4,5 @@ if Rails.env == 'development'
# initialization is skipped so trigger it
Rack::MiniProfilerRails.initialize!(Rails.application)
Rack::MiniProfiler.config.position = 'right'
+ Rack::MiniProfiler.config.start_hidden = true
end