UltraPlug
A hip family of Plugs that mean business.
UltraPlug.Render
Renders the template.
With status :no_content, send an empty response.
Options
- assigns: overrides conn.assigns in Phoenix.
- render: defaults to Phoenix.Controller.render/3.
- status: calls Plug.Conn.put_status/2 before rendering.
- template: defaults to “index.html”.
UltraPlug.Repository
Accesses the configured repo.
TODO: Document configuration TODO: Document options
Installation
def deps do
[
{:ultra_plug, "~> 2.0"}
]
end