This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module FlashMessagesHelper | |
def render_flash_messages | |
flash.delete(:timedout) # FIX: https://github.com/plataformatec/devise/issues/1777 | |
safe_join flash.map { |flash_type, message| alert_box(flash_type, message) } | |
end | |
private | |
def close_button(dismiss) |
NewerOlder