Hide rack profiler by default
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
5cf2bd4c99
commit
63be16008e
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue