Scala-Play-Slick-Demo/conf/routes
2020-05-17 23:30:24 +05:30

13 lines
559 B
Plaintext

# Routes
# This file defines all application routes (Higher priority routes first)
# ~~~~
# Home page
GET / controllers.HomeController.index
GET /cars controllers.HomeController.cars
GET /book controllers.HomeController.book
GET /authors/:bookId controllers.HomeController.authors(bookId: Long)
# Map static resources from the /public folder to the /assets URL path
GET /assets/*file controllers.Assets.versioned(path="/public", file: Asset)