fix routes order
parent
6d290e1209
commit
f99557b702
16
conf/routes
16
conf/routes
|
@ -70,6 +70,14 @@ GET /games/export/:user controllers.Game.export(user: String)
|
|||
# Search
|
||||
GET /games/search controllers.Game.search(page: Int ?= 1)
|
||||
|
||||
# Training - Opening
|
||||
# GET /training/opening controllers.Opening.home
|
||||
|
||||
# Training - Coordinate
|
||||
GET /training/coordinate controllers.Coordinate.home
|
||||
POST /training/coordinate/score controllers.Coordinate.score
|
||||
POST /training/coordinate/color controllers.Coordinate.color
|
||||
|
||||
# Training - Puzzle
|
||||
GET /training controllers.Puzzle.home
|
||||
POST /training/difficulty controllers.Puzzle.difficulty
|
||||
|
@ -80,14 +88,6 @@ GET /training/:id/load controllers.Puzzle.load(id: Int)
|
|||
POST /training/:id/attempt controllers.Puzzle.attempt(id: Int)
|
||||
POST /training/:id/vote controllers.Puzzle.vote(id: Int)
|
||||
|
||||
# Training - Opening
|
||||
# GET /training/opening controllers.Opening.home
|
||||
|
||||
# Training - Coordinate
|
||||
GET /training/coordinate controllers.Coordinate.home
|
||||
POST /training/coordinate/score controllers.Coordinate.score
|
||||
POST /training/coordinate/color controllers.Coordinate.color
|
||||
|
||||
# Round
|
||||
GET /$gameId<\w{8}> controllers.Round.watcher(gameId: String, color: String = "white")
|
||||
GET /$gameId<\w{8}>/$color<white|black> controllers.Round.watcher(gameId: String, color: String)
|
||||
|
|
Loading…
Reference in New Issue