From 4b9eef50c9bf91e6ca2d85d9e63dc69b0ffba737 Mon Sep 17 00:00:00 2001 From: Unknown Date: Wed, 26 Mar 2014 12:31:01 -0400 Subject: Add comment of issue --- web.go | 1 + 1 file changed, 1 insertion(+) (limited to 'web.go') diff --git a/web.go b/web.go index 9423c3ee..6bc55908 100644 --- a/web.go +++ b/web.go @@ -144,6 +144,7 @@ func runWeb(*cli.Context) { r.Get("/action/:action", repo.Action) r.Any("/issues/new", binding.BindIgnErr(auth.CreateIssueForm{}), repo.CreateIssue) r.Post("/issues/:index", binding.BindIgnErr(auth.CreateIssueForm{}), repo.UpdateIssue) + r.Post("/comment/:action", repo.Comment) }, reqSignIn, middleware.RepoAssignment(true)) m.Group("/:username/:reponame", func(r martini.Router) { r.Get("/commits/:branchname", repo.Commits) -- cgit v1.2.3