summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-05-06 15:12:57 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-05-06 15:13:17 -0400
commitb519e2312fc52c5065846c67d8e9ca1ce195ddc2 (patch)
tree7cc7d51c53f4f7bc6b06036f8793b86aad432453 /config
parent51c3393974c0702f56f22122006606d3e03b668d (diff)
downloadgitlab-ce-b519e2312fc52c5065846c67d8e9ca1ce195ddc2.tar.gz
Disable Rack::MiniProfiler for Jasmine's specs route
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 bdad6202b11..38a5fa98dc2 100644
--- a/config/initializers/6_rack_profiler.rb
+++ b/config/initializers/6_rack_profiler.rb
@@ -5,4 +5,5 @@ if Rails.env.development?
Rack::MiniProfilerRails.initialize!(Rails.application)
Rack::MiniProfiler.config.position = 'right'
Rack::MiniProfiler.config.start_hidden = true
+ Rack::MiniProfiler.config.skip_paths << '/specs'
end