1
0

Priorites for tasks (#31)

This commit is contained in:
konrad
2018-12-02 00:49:30 +00:00
committed by Gitea
parent f2f881f505
commit cc6b35e314
11 changed files with 323 additions and 84 deletions

View File

@ -133,7 +133,7 @@ func RegisterRoutes(e *echo.Echo) {
return models.GetCurrentUser(c)
},
})
c.Set("LoggingProvider", &log.Log)
c.Set("LoggingProvider", log.Log)
return next(c)
}
})
@ -163,6 +163,7 @@ func RegisterRoutes(e *echo.Echo) {
}
a.PUT("/lists/:list", taskHandler.CreateWeb)
a.GET("/tasks", taskHandler.ReadAllWeb)
a.GET("/tasks/:sort", taskHandler.ReadAllWeb)
a.DELETE("/tasks/:listtask", taskHandler.DeleteWeb)
a.POST("/tasks/:listtask", taskHandler.UpdateWeb)