parent
36f3da3cde
commit
318886287b
@ -0,0 +1,2 @@
|
|||||||
|
$(document).on 'turbolinks:load', ->
|
||||||
|
window.MiniProfiler.pageTransition() unless typeof window.MiniProfiler == 'undefined'
|
@ -0,0 +1,6 @@
|
|||||||
|
require 'rack-mini-profiler'
|
||||||
|
|
||||||
|
Rack::MiniProfilerRails.initialize!(Rails.application)
|
||||||
|
|
||||||
|
Rails.application.middleware.delete(Rack::MiniProfiler)
|
||||||
|
Rails.application.middleware.insert_after(Rack::Deflater, Rack::MiniProfiler)
|
Loading…
Reference in new issue