PhoenixLensWeb.Router (phoenix_lens v0.1.0)

Copy Markdown View Source

Router helper for mounting Lens in a Phoenix application.

import PhoenixLensWeb.Router

scope "/" do
  pipe_through [:browser, :require_admin]
  lens "/lens"
end

Summary

Functions

lens(path, opts \\ [])

(macro)