Pow v1.0.0-rc.1 Pow.Phoenix.Router View Source

Handles Phoenix routing for Pow.

Usage

Configure lib/my_project_web/router.ex the following way:

defmodule MyAppWeb.Router do
  use MyAppWeb, :router
  use Pow.Phoenix.Router

  # ...

  scope "/" do
    pipe_through :browser

    pow_routes()
  end

  # ...
end

Link to this section Summary

Functions

Pow router macro

Link to this section Functions

Pow router macro.

Use this macro to define the Pow routes.

Example

scope "/" do
  pow_routes()
end