Add watch button on issue

This commit is contained in:
Andrey Nering 2017-03-29 20:31:47 -03:00
parent a0d0de7233
commit b674460748
6 changed files with 111 additions and 0 deletions

View file

@ -491,6 +491,7 @@ func runWeb(ctx *cli.Context) error {
m.Group("/:index", func() {
m.Post("/title", repo.UpdateIssueTitle)
m.Post("/content", repo.UpdateIssueContent)
m.Post("/watch", repo.IssueWatch)
m.Combo("/comments").Post(bindIgnErr(auth.CreateCommentForm{}), repo.NewComment)
})