admin: Readd missing route to add exercice from ui
This commit is contained in:
parent
3cf3a03ab8
commit
3a38a75e25
@ -23,6 +23,7 @@ func declareGlobalExercicesRoutes(router *gin.RouterGroup) {
|
||||
|
||||
func declareExercicesRoutes(router *gin.RouterGroup) {
|
||||
router.GET("/exercices", listExercices)
|
||||
router.POST("/exercices", createExercice)
|
||||
|
||||
apiExercicesRoutes := router.Group("/exercices/:eid")
|
||||
apiExercicesRoutes.Use(ExerciceHandler)
|
||||
|
Loading…
x
Reference in New Issue
Block a user