Merge pull request #6167 from betagouv/profiler4dev

activate rack_mini_profiler in dev
This commit is contained in:
LeSim 2021-05-05 17:24:44 +02:00 committed by GitHub
commit 580c5c4ede
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,3 +1,3 @@
if Rails.env.development?
Rack::MiniProfiler.config.authorization_mode = :whitelist
Rack::MiniProfiler.config.show_total_sql_count = true
end