activitypub-academy/config/initializers/rack-mini-profiler.rb

3 lines
140 B
Ruby
Raw Normal View History

2016-08-18 22:49:51 +09:00
Rails.application.middleware.swap(Rack::Deflater, Rack::MiniProfiler)
Rails.application.middleware.swap(Rack::MiniProfiler, Rack::Deflater)