mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-25 14:05:11 +01:00
7 lines
220 B
Ruby
7 lines
220 B
Ruby
|
require 'rack-mini-profiler'
|
||
|
|
||
|
Rack::MiniProfilerRails.initialize!(Rails.application)
|
||
|
|
||
|
Rails.application.middleware.delete(Rack::MiniProfiler)
|
||
|
Rails.application.middleware.insert_after(Rack::Deflater, Rack::MiniProfiler)
|