Back

wrap-flash (clj)

(source)

function

(wrap-flash handler)
If a :flash key is set on the response by the handler, a :flash key with the same value will be set on the next request that shares the same session. This is useful for small messages that persist across redirects.

Examples