You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
add //= require unobtrusive_flash in application.js
Controllers:
add after_filter :prepare_unobtrusive_flash to the top of the controllers that contain flashes. Or you can add this to the application controller as a global controller callback.
define flashes in the controller actions as usual.
Views:
Remove any code in the views related to the flashes.
Javascript:
Add a flashes.js in the javascript assets directory: