2015-09-11 14:41:01 +05:30
|
|
|
if Rails.env.development?
|
2014-09-02 18:07:02 +05:30
|
|
|
require 'rack-mini-profiler'
|
|
|
|
|
|
|
|
# initialization is skipped so trigger it
|
|
|
|
Rack::MiniProfilerRails.initialize!(Rails.application)
|
2015-09-11 14:41:01 +05:30
|
|
|
|
2015-04-26 12:48:37 +05:30
|
|
|
Rack::MiniProfiler.config.position = 'right'
|
2015-09-11 14:41:01 +05:30
|
|
|
Rack::MiniProfiler.config.start_hidden = false
|
|
|
|
Rack::MiniProfiler.config.skip_paths << '/teaspoon'
|
2014-09-02 18:07:02 +05:30
|
|
|
end
|