method
flash
v2.1.0 -
Show latest stable
- Class:
ActionController::Flash::InstanceMethods
flash(refresh = false)protected
Access the contents of the flash. Use flash["notice"] to read a notice you put there or flash["notice"] = "hello" to put a new one. Note that if sessions are disabled only flash.now will work.