Closed phikes closed 10 years ago
I was a little to fast and overlooked line 10, which converts the type
to a symbol. Nevertheless my devise notifications are not rendered. I will further investigate and report back.
Nevermind I am not using the latest version. My version doesn't have the symbol conversion.
Namely the problem is that with Rails 4.1.5 and devise I can't see the alert and notice messages devise passes into
flash
.After debugging I found out that devise uses e.g.
flash['alert']
instead offlash[:alert]
(for whichbootstrap_flash
checks). The defaultalert
andnotice
helpers do output messages which are added with string keys so I proposebootstrap_flash
should do that, too.