mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-04 08:17:24 -05:00
parent
1610b9f547
commit
7e401b9e39
@ -406,7 +406,7 @@ func RegisterRoutes(m *macaron.Macaron) {
|
|||||||
Delete(org.ConcealMember)
|
Delete(org.ConcealMember)
|
||||||
})
|
})
|
||||||
m.Combo("/teams").Get(org.ListTeams).
|
m.Combo("/teams").Get(org.ListTeams).
|
||||||
Post("", bind(api.CreateTeamOption{}), org.CreateTeam)
|
Post(bind(api.CreateTeamOption{}), org.CreateTeam)
|
||||||
m.Group("/hooks", func() {
|
m.Group("/hooks", func() {
|
||||||
m.Combo("").Get(org.ListHooks).
|
m.Combo("").Get(org.ListHooks).
|
||||||
Post(bind(api.CreateHookOption{}), org.CreateHook)
|
Post(bind(api.CreateHookOption{}), org.CreateHook)
|
||||||
|
Loading…
Reference in New Issue
Block a user