summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorAndrey Nering <andrey.nering@gmail.com>2017-03-29 20:31:47 -0300
committerAndrey Nering <andrey.nering@gmail.com>2017-03-29 20:31:47 -0300
commitb6744607484008826d18f129326664105b9d7bfc (patch)
tree77a41fe51c110e211bc1b0de95f163e62859c781 /cmd
parenta0d0de7233cd8a85d6572ae13d74078482a1ee27 (diff)
downloadgitea-b6744607484008826d18f129326664105b9d7bfc.tar.gz
gitea-b6744607484008826d18f129326664105b9d7bfc.zip
Add watch button on issue
Diffstat (limited to 'cmd')
-rw-r--r--cmd/web.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/web.go b/cmd/web.go
index 1f2561ca68..b2cc3959a2 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -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)
})