Commit bd12ca5e authored by Robert Speicher's avatar Robert Speicher

Disable Rack::MiniProfiler for /teaspoon path

parent 330c2538
...@@ -3,7 +3,8 @@ if Rails.env.development? ...@@ -3,7 +3,8 @@ if Rails.env.development?
# initialization is skipped so trigger it # initialization is skipped so trigger it
Rack::MiniProfilerRails.initialize!(Rails.application) Rack::MiniProfilerRails.initialize!(Rails.application)
Rack::MiniProfiler.config.position = 'right' Rack::MiniProfiler.config.position = 'right'
Rack::MiniProfiler.config.start_hidden = true Rack::MiniProfiler.config.start_hidden = true
Rack::MiniProfiler.config.skip_paths << %w(/specs /teaspoon) Rack::MiniProfiler.config.skip_paths << '/teaspoon'
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment