View Source Torch.PageView (Torch v5.0.0-rc.0)
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"