chinwagsocial/app/assets/javascripts/profiler.coffee

6 lines
173 B
CoffeeScript
Raw Normal View History

$ ->
$(document).on 'turbolinks:load', ->
unless typeof window.MiniProfiler == 'undefined'
window.MiniProfiler.init()
window.MiniProfiler.pageTransition()