Pow v0.1.0-alpha 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. Use this macro to define the Pow routes

Link to this section Functions

Pow router macro. Use this macro to define the Pow routes.

Examples:

scope "/" do
  pow_routes()
end