# 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 / org.sample.users.HomeController.index # Shared Route # type: Seq[org.sample.users.shared.User] GET /user org.sample.users.UserController.query # Shared Route # type: org.sample.users.shared.User GET /user/:id org.sample.users.UserController.get( id: Long ) # Shared Route # body: org.sample.users.shared.User # type: org.sample.users.shared.User PUT /user org.sample.users.UserController.addUser() # Shared Route # body: org.sample.users.shared.User # type: org.sample.users.shared.User POST /user/:id org.sample.users.UserController.updateUser (id: Long) # Shared Route # type: org.sample.users.shared.User DELETE /user/:id org.sample.users.UserController.delete(id :Long) # Map static resources from the /public folder to the /assets URL path GET /assets/*file controllers.Assets.versioned(path="/public", file: Asset) # Forward Webjar requests to the webjar routes -> /webjars webjars.Routes