nextjs-rewrite #5

Merged
david merged 56 commits from nextjs-rewrite into main 2026-03-30 02:30:16 +00:00
Showing only changes of commit ed7ebd71fa - Show all commits
+9 -10
View File
@@ -9,25 +9,24 @@ module EuchreCamp
get "/login", to: "auth.login.show" get "/login", to: "auth.login.show"
post "/auth/login", to: "auth.login.create" post "/auth/login", to: "auth.login.create"
get "/logout", to: "auth.logout" get "/logout", to: "auth.logout"
get "/players/:id", to: "players.show"
get "/players/:id/profile", to: "players.profile"
get "/players/:id/schedule", to: "players.schedule"
get "/rankings", to: "players.rankings"
# Admin routes
get "/admin", to: "admin.index"
# Player admin routes
get "/admin/players", to: "admin.players.index"
get "/admin/players/new", to: "admin.players.new" get "/admin/players/new", to: "admin.players.new"
post "/admin/players", to: "admin.players.create" post "/admin/players", to: "admin.players.create"
get "/admin/players", to: "admin.players.index"
get "/admin/players/:id/edit", to: "admin.players.edit" get "/admin/players/:id/edit", to: "admin.players.edit"
patch "/admin/players/:id", to: "admin.players.update" patch "/admin/players/:id", to: "admin.players.update"
delete "/admin/players/:id", to: "admin.players.destroy" delete "/admin/players/:id", to: "admin.players.destroy"
# Match routes # Match admin routes
get "/admin/matches", to: "admin.matches.index"
get "/admin/matches/new", to: "admin.matches.new" get "/admin/matches/new", to: "admin.matches.new"
post "/admin/matches", to: "admin.matches.create" post "/admin/matches", to: "admin.matches.create"
get "/admin/matches", to: "admin.matches.index" get "/admin/matches/:id/edit", to: "admin.matches.edit"
patch "/admin/matches/:id", to: "admin.matches.update"
# CSV Upload routes
get "/admin/matches/upload", to: "admin.matches.upload" get "/admin/matches/upload", to: "admin.matches.upload"
post "/admin/matches/process_upload", to: "admin.matches.process_upload" post "/admin/matches/process_upload", to: "admin.matches.process_upload"