module Responders::FlashResponder

def mount_i18n_options(status) # :nodoc:

:nodoc:
def mount_i18n_options(status) # :nodoc:
  options = {
    default: flash_defaults_by_namespace(status),
    resource_name: resource_name,
    downcase_resource_name: resource_name.downcase
  }
  controller_options = controller_interpolation_options
  if controller_options
    options.merge!(controller_options)
  end
  options
end