diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-26 12:31:01 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-26 12:31:01 -0400 |
commit | 4b9eef50c9bf91e6ca2d85d9e63dc69b0ffba737 (patch) | |
tree | 15c5fd6dd9b72ba61e306ec8b068b35d3bc19239 /web.go | |
parent | 8c2f751bbb22ebf06c7f7f9621614b6e46130210 (diff) |
Add comment of issue
Diffstat (limited to 'web.go')
-rw-r--r-- | web.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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) |