Moving Salmon notifications to background processing, fixing mini-profiler
behaviour with Turbolinks enabled, optimizing Rabl for production
This commit is contained in:
parent
da4b675aca
commit
85b00d19b8
15 changed files with 49 additions and 35 deletions
|
@ -1,2 +1,5 @@
|
|||
$(document).on 'turbolinks:load', ->
|
||||
window.MiniProfiler.pageTransition() unless typeof window.MiniProfiler == 'undefined'
|
||||
$ ->
|
||||
$(document).on 'turbolinks:load', ->
|
||||
unless typeof window.MiniProfiler == 'undefined'
|
||||
window.MiniProfiler.init()
|
||||
window.MiniProfiler.pageTransition()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue