Current section

Files

Jump to
phoenix priv template web router.ex
Raw

priv/template/web/router.ex

defmodule <%= application_module %>.Router do
use Phoenix.Router
scope "/" do
# Use the default browser stack.
pipe_through :browser
get "/", <%= application_module %>.PageController, :index, as: :pages
end
# Other scopes may use custom stacks.
# scope "/api" do
# pipe_through :api
# end
end