estum / growlyflash

Growl-styled flash messages for Ruby on Rails and Bootstrap
MIT License
58 stars 34 forks source link

remove :timedout from the session hash (https://github.com/plataformatec... #5

Closed saplaum closed 10 years ago

saplaum commented 10 years ago

I use devise in a project and just activated the timeout functionality. Since devise renders a :timedout => true into the flash Hash for some reason, this true value is rendered into the frontend. My hack just removes this key from the :timedout Hash.

There ist certainly a better solution for this, but it works well for my project and it might for others too :-)

the devise issue: https://github.com/plataformatec/devise/issues/1777