Phoenix.Controller.put_layout_formats/2

Parsed documentation:
View on GitHub
Sets which formats have a layout when rendering.

## Examples

    iex> layout_formats(conn)
    ["html"]

    iex> put_layout_formats(conn, ["html", "mobile"])
    iex> layout_formats(conn)
    ["html", "mobile"]

Raises `Plug.Conn.AlreadySentError` if `conn` is already sent.
Suggestions:
Please help! Open an issue on GitHub if this assessment is incorrect.