PgHeroWeb.Router (pghero v0.1.0)

Copy Markdown View Source

Router helper for mounting PgHero in a Phoenix application.

import PgHeroWeb.Router

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

Summary

Functions

pghero(path, opts \\ [])

(macro)