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