estum / growlyflash

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

Added method to one time pause of growly flash. #38

Closed gregd closed 6 years ago

gregd commented 8 years ago

I have a controller action which returns a js code block via ajax. The code may do something or reload whole page. In this latter case it is better to display flash messages after page is reloaded. So there is need to pause flash_to_headers execution for a one action call. That why I added pause_growlyflash.

PS. I prefer not to update the docs because I am not English native speaker.

gregd commented 6 years ago

@estum Any comment?