Packages

Build OTP release tarballs with deployment-neutral artifact manifests

Current section

Files

Jump to
release_kit examples vanilla lib vanilla_example web router.ex
Raw

examples/vanilla/lib/vanilla_example/web/router.ex

defmodule VanillaExample.Web.Router do
use VanillaExample.Web, :router
pipeline :browser do
plug(:accepts, ["html"])
end
scope "/" do
pipe_through(:browser)
get("/", VanillaExample.Web.PageController, :index)
end
end