85b00d19b8
behaviour with Turbolinks enabled, optimizing Rabl for production
5 lines
173 B
CoffeeScript
5 lines
173 B
CoffeeScript
$ ->
|
|
$(document).on 'turbolinks:load', ->
|
|
unless typeof window.MiniProfiler == 'undefined'
|
|
window.MiniProfiler.init()
|
|
window.MiniProfiler.pageTransition()
|