Merge branch 'master' into develop

This commit is contained in:
Torkel Ödegaard
2017-06-23 12:56:59 -04:00
8 changed files with 18 additions and 8 deletions

View File

@@ -304,6 +304,7 @@ func (hs *HttpServer) registerRoutes() {
}, reqEditorRole)
r.Get("/annotations", wrap(GetAnnotations))
r.Post("/annotations/mass-delete", reqOrgAdmin, bind(dtos.DeleteAnnotationsCmd{}), wrap(DeleteAnnotations))
r.Group("/annotations", func() {
r.Post("/", bind(dtos.PostAnnotationsCmd{}), wrap(PostAnnotation))