# 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 /example/json controllers.ExamplesController.returnJson() POST /example/json controllers.ExamplesController.receiveJsonPost() GET /example/game controllers.ExamplesController.game(id:Option[String]) GET /example/socket controllers.ExamplesController.webSocket() GET /example/time controllers.ExamplesController.webSocketWithHelper() GET /example/eventsource controllers.ExamplesController.eventSource() # Map static resources from the /public folder to the /assets URL path GET /assets/*file controllers.Assets.versioned(path="/public", file: Asset)