Enable rack profiler by default
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
b8af2ecc16
commit
c83bbfa79e
|
@ -364,3 +364,12 @@ table {
|
|||
margin-top: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
.profiler-results {
|
||||
top: 50px !important;
|
||||
|
||||
.profiler-button,
|
||||
.profiler-controls {
|
||||
border-color: #EEE !important;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,6 +5,6 @@ if Rails.env.development?
|
|||
Rack::MiniProfilerRails.initialize!(Rails.application)
|
||||
|
||||
Rack::MiniProfiler.config.position = 'right'
|
||||
Rack::MiniProfiler.config.start_hidden = true
|
||||
Rack::MiniProfiler.config.start_hidden = false
|
||||
Rack::MiniProfiler.config.skip_paths << '/teaspoon'
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue