mirror of
https://github.com/go-gitea/gitea.git
synced 2026-02-24 19:07:24 +01:00
fix some bug
This commit is contained in:
parent
9a7f59ef35
commit
b20f1ab47f
@ -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…
x
Reference in New Issue
Block a user