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.
# File actionpack/lib/action_controller/flash.rb, line 182
def flash #:doc:
if !defined?(@_flash)
@_flash = session["flash"] || FlashHash.new
@_flash.sweep
end
@_flash
end