PowAssent v0.3.1 PowAssent.Phoenix.Router View Source
Handles Phoenix routing for PowAssent.
Usage
Configure lib/my_project_web/router.ex
the following way:
defmodule MyAppWeb.Router do
use MyAppWeb, :router
use Pow.Phoenix.Router
use PowAssent.Phoenix.Router
# ...
scope "/" do
pipe_through :browser
pow_routes()
pow_assent_routes()
end
# ...
end
Link to this section Summary
Functions
PowAssent router macro
Link to this section Functions
Link to this macro
pow_assent_routes() View Source (macro)
PowAssent router macro.
Use this macro to define the PowAssent routes.
Example
scope "/" do
pow_assent_routes()
end