# 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
GET     /user/:id                           org.sample.users.UserController.get( id: Long )
PUT     /user                               org.sample.users.UserController.addUser()
POST    /user/:id                           org.sample.users.UserController.updateUser (id: Long)
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
