@Travis.reopen
  FlashView: Travis.View.extend
    classNames: ['flash']
    tagName: 'ul'
    templateName: 'layouts/flash'

  FlashItemView: Travis.View.extend
    tagName: 'li'
    classNameBindings: ['type']

    type: (->
      @get('flash.type') || 'broadcast'
    ).property('flash.type')

    close: ->
      @get('controller').close(@get('flash'))
