antikythera v0.4.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