# 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()

POST    /login                      controllers.authentication.SessionsController.login()
DELETE  /logout                     controllers.authentication.SessionsController.logout()

GET /user_data                      controllers.HomeController.userData()

# Map static resources from the /public folder to the /assets URL path
GET     /assets/*file               controllers.Assets.versioned(path="/public", file: Asset)

GET     /auctions                   controllers.AuctionsController.index()
GET     /auctions/:id               controllers.AuctionsController.show(id: Long)
POST    /auctions                   controllers.AuctionsController.create()

-> /-devel                          controllers.devel.DevRouter