19 lines
970 B
Plaintext
19 lines
970 B
Plaintext
# Routes
|
|
# This file defines all application routes (Higher priority routes first)
|
|
# https://www.playframework.com/documentation/latest/ScalaRouting
|
|
# ~~~~
|
|
|
|
# An example controller showing a sample home page
|
|
|
|
GET / controllers.HomeController.index()
|
|
GET /sessions controllers.HomeController.sessions()
|
|
GET /ingame/:id controllers.HomeController.ingame(id: String)
|
|
# Map static resources from the /public folder to the /assets URL path
|
|
GET /assets/*file controllers.Assets.versioned(path="/public", file: Asset)
|
|
|
|
GET /rules controllers.HomeController.rules()
|
|
|
|
GET /mainmenu controllers.UserController.mainMenu()
|
|
GET /login controllers.UserController.login()
|
|
POST /login controllers.UserController.login_Post()
|
|
GET /logout controllers.UserController.logout() |