module Responders::FlashResponder

def to_js

def to_js
  set_flash_message! if set_flash_message?
  defined?(super) ? super : to_format
end