Enable rack profiler by default

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2015-06-24 12:48:59 +02:00
parent b8af2ecc16
commit c83bbfa79e
No known key found for this signature in database
GPG Key ID: 161B5D6A44D3D88A
2 changed files with 10 additions and 1 deletions

View File

@ -364,3 +364,12 @@ table {
margin-top: 8px;
}
}
.profiler-results {
top: 50px !important;
.profiler-button,
.profiler-controls {
border-color: #EEE !important;
}
}

View File

@ -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