keep(k = nil)
Instance Public methods
Keeps either the entire current flash or a specific flash entry available for the next action:
1 2 | flash.keep # keeps the entire flash flash.keep( :notice ) # keeps only the "notice" entry, the rest of the flash is discarded |
Please login to continue.