antikythera v0.2.0 Antikythera.Plug.Flash View Source
Plug to automatically load flash messages from session.
Usage
Add the following line in a controller module (note that the order of the plugs is important):
plug Antikythera.Plug.Session, :load, [key: "12345678"]
plug Antikythera.Plug.Flash , :load, []
Then you can access flash messages by
Link to this section Summary
Link to this section Functions
Link to this function
load(conn, opts)
View Source
load(Antikythera.Conn.t(), any()) :: Antikythera.Conn.t()