From 63be16008e28e4bf728cf94550c6dabc8b146aaa Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Wed, 24 Dec 2014 15:43:45 +0200 Subject: Hide rack profiler by default Signed-off-by: Dmitriy Zaporozhets --- config/initializers/6_rack_profiler.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'config/initializers') 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 -- cgit v1.2.1