fix some bug

release/v1.1
Lunny Xiao 7 years ago
parent 9a7f59ef35
commit b20f1ab47f
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A

@ -341,7 +341,7 @@ func RegisterRoutes(m *macaron.Macaron) {
Post(bind(api.CreateKeyOption{}), repo.CreateDeployKey)
m.Combo("/:id").Get(repo.GetDeployKey).
Delete(repo.DeleteDeploykey)
})
}, reqRepoWriter())
m.Group("/issues", func() {
m.Combo("").Get(repo.ListIssues).Post(bind(api.CreateIssueOption{}), repo.CreateIssue)
m.Group("/comments", func() {

Loading…
Cancel
Save