Commit c83bbfa7 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Enable rack profiler by default

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent b8af2ecc
...@@ -364,3 +364,12 @@ table { ...@@ -364,3 +364,12 @@ table {
margin-top: 8px; margin-top: 8px;
} }
} }
.profiler-results {
top: 50px !important;
.profiler-button,
.profiler-controls {
border-color: #EEE !important;
}
}
...@@ -5,6 +5,6 @@ if Rails.env.development? ...@@ -5,6 +5,6 @@ if Rails.env.development?
Rack::MiniProfilerRails.initialize!(Rails.application) Rack::MiniProfilerRails.initialize!(Rails.application)
Rack::MiniProfiler.config.position = 'right' Rack::MiniProfiler.config.position = 'right'
Rack::MiniProfiler.config.start_hidden = true Rack::MiniProfiler.config.start_hidden = false
Rack::MiniProfiler.config.skip_paths << '/teaspoon' Rack::MiniProfiler.config.skip_paths << '/teaspoon'
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment