diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-05-06 15:12:57 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-05-06 15:13:17 -0400 |
commit | b519e2312fc52c5065846c67d8e9ca1ce195ddc2 (patch) | |
tree | 7cc7d51c53f4f7bc6b06036f8793b86aad432453 | |
parent | 51c3393974c0702f56f22122006606d3e03b668d (diff) | |
download | gitlab-ce-b519e2312fc52c5065846c67d8e9ca1ce195ddc2.tar.gz |
Disable Rack::MiniProfiler for Jasmine's specs route
-rw-r--r-- | config/initializers/6_rack_profiler.rb | 1 |
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 |