index file
This commit is contained in:
parent
4ad3973e9b
commit
7c33ac7f78
8 changed files with 52 additions and 234 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue