index file

This commit is contained in:
Daniel Yrovas 2025-01-10 23:38:31 +11:00
parent 4ad3973e9b
commit 7c33ac7f78
Signed by: danielyrovas
SSH key fingerprint: SHA256:1avlGZQpGW038lBkNI5lOS7f0hIPM7ecJen2/P1MCCU
8 changed files with 52 additions and 234 deletions

View file

@ -17,11 +17,11 @@ defmodule WildWeb.Router do
plug :accepts, ["json"]
end
scope "/", WildWeb do
pipe_through :browser
get "/", PageController, :home
end
# scope "/", WildWeb do
# pipe_through :browser
#
# get "/", PageController, :home
# end
# Other scopes may use custom stacks.
# scope "/api", WildWeb do
@ -80,6 +80,7 @@ defmodule WildWeb.Router do
on_mount: [{WildWeb.UserAuth, :mount_current_user}] do
live "/account/confirm/:token", UserConfirmationLive, :edit
live "/account/confirm", UserConfirmationInstructionsLive, :new
live "/", Index
end
end
end