Skip to content
Snippets Groups Projects
Select Git revision
  • 356720c7d61202c38b5134d64693972f863ade51
  • master default protected
2 results

routes

Blame
  • routes 1022 B
    # 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     /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()
    
    
    # Map static resources from the /public folder to the /assets URL path
    GET     /assets/*file               controllers.Assets.versioned(path="/public", file: Asset)