25 26 27 28 29 30
# processing instead of sending it inline as devise does by # default. def send_devise_notification(notification, opts = {}) return super unless Devise::Async.enabled # If the record is dirty we keep pending notifications to be enqueued