Flowdock
method

keep

Importance_1
v2.0.3 - Show latest stable - 0 notes - Class: ActionController::Flash::FlashHash
keep(k = nil) public

Keeps either the entire current flash or a specific flash entry available for the next action:

   flash.keep            # keeps the entire flash
   flash.keep(:notice)   # keeps only the "notice" entry, the rest of the flash is discarded
Show source
Register or log in to add new notes.