GreenAsh.SessionController (GreenAsh v0.3.0)

Copy Markdown View Source

Writes/clears the console's actor and tenant in the session, then redirects.

Invoked by the :actor and :tenant commands. A LiveView cannot write the session through its socket, so both take the long way round: a plain request that sets the session and sends you back where you came from.

Summary

Functions

actor(conn, params)

tenant(conn, params)