Create new collections from my collections view
This commit is contained in:
@@ -81,6 +81,9 @@ func Setup(config *config.Config) *gin.Engine {
|
||||
ws.GET("/collections", func(c *gin.Context) {
|
||||
routes.GetCollectionsHandler(appcontext.AppContext{C: c, Db: db, I18n: bundle, Config: config})
|
||||
})
|
||||
ws.POST("/collection", func(c *gin.Context) {
|
||||
routes.PostCollectionHandler(appcontext.AppContext{C: c, Db: db, I18n: bundle, Config: config})
|
||||
})
|
||||
ws.POST("/auth/signup", func(c *gin.Context) {
|
||||
routes.PostSignupHandler(appcontext.AppContext{C: c, Db: db, I18n: bundle, Config: config})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user