Hide rack profiler by default

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2014-12-24 15:43:45 +02:00
parent 5cf2bd4c99
commit 63be16008e
No known key found for this signature in database
GPG key ID: 161B5D6A44D3D88A

View file

@ -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