# 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 # Food Manager GET /food controllers.FoodController.query(term: String ?= "") GET /food/:id controllers.FoodController.get(id: Int) PUT /food controllers.FoodController.put() POST /food/:id controllers.FoodController.update(id: Int) DELETE /food/:id controllers.FoodController.delete(id: Int) # Ingredient Manager GET /ingredients controllers.IngredientController.editorPage # Map static resources from the /public folder to the /assets URL path GET /assets/*file controllers.Assets.versioned(path="/public", file: Asset)