activitypub-academy/config/initializers/rack-mini-profiler.rb
2016-08-18 15:49:51 +02:00

2 lines
140 B
Ruby

Rails.application.middleware.swap(Rack::Deflater, Rack::MiniProfiler)
Rails.application.middleware.swap(Rack::MiniProfiler, Rack::Deflater)