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