debian-mirror-gitlab/config/initializers/6_rack_profiler.rb

9 lines
262 B
Ruby
Raw Normal View History

2014-09-02 18:07:02 +05:30
if Rails.env == 'development'
require 'rack-mini-profiler'
# initialization is skipped so trigger it
Rack::MiniProfilerRails.initialize!(Rails.application)
2015-04-26 12:48:37 +05:30
Rack::MiniProfiler.config.position = 'right'
Rack::MiniProfiler.config.start_hidden = true
2014-09-02 18:07:02 +05:30
end