debian-mirror-gitlab/config/initializers/rack_profiler.rb
2015-09-25 12:07:36 +05:30

10 lines
316 B
Ruby

if Rails.env.development?
require 'rack-mini-profiler'
# initialization is skipped so trigger it
Rack::MiniProfilerRails.initialize!(Gitlab::Application)
Rack::MiniProfiler.config.position = 'right'
Rack::MiniProfiler.config.start_hidden = false
Rack::MiniProfiler.config.skip_paths << '/teaspoon'
end