PhoenixReplay.Router (PhoenixReplay v0.2.0)

Copy Markdown View Source

Provides routing for the PhoenixReplay dashboard.

Usage

defmodule MyAppWeb.Router do
  use Phoenix.Router
  import PhoenixReplay.Router

  scope "/" do
    pipe_through :browser
    phoenix_replay "/replay"
  end
end

Summary

Functions

Mounts the PhoenixReplay dashboard at the given path.

Functions

phoenix_replay(path)

(macro)

Mounts the PhoenixReplay dashboard at the given path.