class
Amber::Pipe::Flash
- Amber::Pipe::Flash
- Amber::Pipe::Base
- Reference
- Object
Overview
Carries the flash from one request to the next through the session.
The session is written only when the flash has messages to carry, or when the session still holds a flash that is now empty and must be cleared. A request that never sets a flash leaves the session unchanged, so a visitor without a session cookie is given no session.
Defined in:
amber/pipes/flash.crConstant Summary
-
EMPTY_FLASH_JSON =
"{}" -
The session form of a flash with no messages.
-
PARAM_KEY =
"_flash"