diff options
-rw-r--r-- | config/initializers/6_rack_profiler.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/initializers/6_rack_profiler.rb b/config/initializers/6_rack_profiler.rb index 59934e210fe..5312fd8e89a 100644 --- a/config/initializers/6_rack_profiler.rb +++ b/config/initializers/6_rack_profiler.rb @@ -3,7 +3,8 @@ 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 - Rack::MiniProfiler.config.skip_paths << %w(/specs /teaspoon) + Rack::MiniProfiler.config.skip_paths << '/teaspoon' end |