rosa-build/config/initializers/rack_profiler.rb

6 lines
166 B
Ruby
Raw Permalink Normal View History

2015-06-02 18:32:25 +01:00
if Rails.env == 'development'
require 'rack-mini-profiler'
# initialization is skipped so trigger it
Rack::MiniProfilerRails.initialize!(Rails.application)
end