routes 1.2 KB

123456789101112131415161718192021222324
  1. # Routes
  2. # This file defines all application routes (Higher priority routes first)
  3. # ~~~~
  4. GET /events controllers.EventsController.get
  5. PUT /events controllers.EventsController.create
  6. POST /events/:id controllers.EventsController.update(id: Long)
  7. DELETE /events/:id controllers.EventsController.delete(id: Long)
  8. GET /favorite/:id controllers.FavoriteController.get(id: Long)
  9. PUT /favorite/:id/:event controllers.FavoriteController.create(id: Long, event: Long)
  10. DELETE /favorite/:id/:event controllers.FavoriteController.delete(id: Long, event: Long)
  11. PUT /report/:id controllers.ReportController.create(id: Long)
  12. # An example controller showing a sample home page
  13. #GET / controllers.HomeController.index
  14. # An example controller showing how to use dependency injection
  15. #GET /count controllers.CountController.count
  16. # An example controller showing how to write asynchronous code
  17. #GET /message controllers.AsyncController.message
  18. # Map static resources from the /public folder to the /assets URL path
  19. GET /assets/*file controllers.Assets.versioned(path="/public", file: Asset)