gitlab-org--gitlab-foss/config/initializers/6_rack_profiler.rb
Dmitriy Zaporozhets 6ef3505b19
Add default settings to test env. Removed wrong comment for rack_profiler
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-02-26 12:44:29 +02:00

6 lines
167 B
Ruby

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