Add comment of issue
This commit is contained in:
parent
8c2f751bbb
commit
4b9eef50c9
6 changed files with 108 additions and 32 deletions
1
web.go
1
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue