Swiss.Phoenix.Controller (swiss v3.12.0) View Source
Helper functions for Phoenix controllers.
Link to this section Summary
Link to this section Functions
Specs
redirect_back(Plug.Conn.t(), String.t()) :: Plug.Conn.t()
Redirects back to the referer, or to fallback
when missing.
Does not redirect back to an external host.
Specs
render_no_content(Plug.Conn.t()) :: Plug.Conn.t()
Returns 204 No Content.