[][src]Function rustimate_controllers::util::ctx::add_flash

pub fn add_flash(s: &Session, logger: &Logger, key: &str, msg: &str)

Set a session entry for flash messages. Allowed keys are "success", "warning", and "error". Values are used once, then unset.