In the SessionController Monban gem generate a method: set_flash_message. Inside that method the flash.now.notice is set. I wonder what is the difference between setting flash.now.notice and flash.notice ?
How should I render flash.now.notice? In my layouts/application.html.erb I tried:
<%= notice if notice %>
but it didn’t work. After incorrect logging I was redirected to root path but the notice doesn’t show.