View Source Torch.PageView (Torch v4.3.2)
Link to this section Summary
Functions
Takes the controller action name and appends it to the torch- prefix.
Link to this section Functions
@spec body_classes(Plug.Conn.t()) :: String.t()
Takes the controller action name and appends it to the torch- prefix.
example
Example
iex> body_classes(%Plug.Conn{private: %{phoenix_action: :create}})
"torch-create"