Add watch button on issue
This commit is contained in:
parent
a0d0de7233
commit
b674460748
6 changed files with 111 additions and 0 deletions
|
@ -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)
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue