Closed jmbejar closed 8 years ago
Turbolinks 5 has renamed their events, so we should rely on the turbolinks:load to make sweet alerts work.
turbolinks:load
I'm adding this event but not removing page:load and page:update in order to support the classic version of Turbolinks
page:load
page:update
In this way, rails apps using either version of TL are covered.
Thanks.
Turbolinks 5 has renamed their events, so we should rely on the
turbolinks:load
to make sweet alerts work.I'm adding this event but not removing
page:load
andpage:update
in order to support the classic version of TurbolinksIn this way, rails apps using either version of TL are covered.