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

routes

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