|
|
@@ -2,12 +2,23 @@
|
|
|
# This file defines all application routes (Higher priority routes first)
|
|
|
# ~~~~
|
|
|
|
|
|
+GET /events controllers.EventsController.get
|
|
|
+PUT /events controllers.EventsController.create
|
|
|
+POST /events/:id controllers.EventsController.update(id: Long)
|
|
|
+DELETE /events/:id controllers.EventsController.delete(id: Long)
|
|
|
+
|
|
|
+GET /favorite/:id controllers.FavoriteController.get(id: Long)
|
|
|
+PUT /favorite/:id/:event controllers.FavoriteController.create(id: Long, event: Long)
|
|
|
+DELETE /favorite/:id/:event controllers.FavoriteController.delete(id: Long, event: Long)
|
|
|
+
|
|
|
+PUT /report/:id controllers.ReportController.create(id: Long)
|
|
|
+
|
|
|
# An example controller showing a sample home page
|
|
|
-GET / controllers.HomeController.index
|
|
|
+#GET / controllers.HomeController.index
|
|
|
# An example controller showing how to use dependency injection
|
|
|
-GET /count controllers.CountController.count
|
|
|
+#GET /count controllers.CountController.count
|
|
|
# An example controller showing how to write asynchronous code
|
|
|
-GET /message controllers.AsyncController.message
|
|
|
+#GET /message controllers.AsyncController.message
|
|
|
|
|
|
# Map static resources from the /public folder to the /assets URL path
|
|
|
GET /assets/*file controllers.Assets.versioned(path="/public", file: Asset)
|