leikind / wice_grid

A Rails grid plugin to create grids with sorting, pagination, and (automatically generated) filters
MIT License
535 stars 215 forks source link

Turbolinks 5 Support: Initialize WiceGrid on `turbolinks:render` #335

Closed patricklindsay closed 7 years ago

patricklindsay commented 7 years ago

Fixes #313

For reference: Turbolinks full list of events

turbolinks:render fires after Turbolinks renders the page. This event fires twice during an application visit to a cached location: once after rendering the cached version, and again after rendering the fresh version.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 37.98% when pulling 62a7d60547d42398bb73afcfaecd5d327cd4be36 on patricklindsay:turbolinks5 into ce417c19143e7ade80a6e957563a7e0d231e981f on leikind:rails3.