basic admin endgame view and add (#3)

Reviewed-on: #3
This commit was merged in pull request #3.
This commit is contained in:
2026-06-22 18:44:52 +00:00
parent e955e40930
commit b47fcdffcb
82 changed files with 2031 additions and 2 deletions
+11
View File
@@ -22,6 +22,17 @@ defmodule ChesstrainerWeb.Router do
live "/chess-test", ChessTestLive
end
scope "/admin", ChesstrainerWeb do
pipe_through :browser
live_session :endgames do
live "/endgames", EndgameLive.Index, :index
live "/endgames/new", EndgameLive.Form, :new
live "/endgames/:id", EndgameLive.Show, :show
live "/endgames/:id/edit", EndgameLive.Form, :edit
end
end
# Other scopes may use custom stacks.
# scope "/api", ChesstrainerWeb do
# pipe_through :api