gitlab-org--gitlab-foss/config/initializers/6_rack_profiler.rb

7 lines
167 B
Ruby
Raw Normal View History

if Rails.env == 'development'
require 'rack-mini-profiler'
# initialization is skipped so trigger it
Rack::MiniProfilerRails.initialize!(Rails.application)
end