Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
1 result

routes

Blame
  • routes 1.19 KiB
    # 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
    # Map static resources from the /public folder to the /assets URL path
    GET     /assets/*file      controllers.Assets.at(path="/public", file)
    GET     /lavamaze/assets/*file      controllers.Assets.at(path="/public", file)
    
    POST    /lavamaze/students          controllers.HomeController.csv
    POST    /students                   controllers.HomeController.csv
    
    
    GET     /                           controllers.HomeController.index
    GET     /lavamaze                   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()