1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-29 04:33:08 +00:00

A missing / to provide a correct endpoint

solve #1899
This commit is contained in:
camlafit 2017-06-07 17:57:28 +02:00 committed by GitHub
parent d9a8eff2de
commit 952cb8046f

View file

@ -487,7 +487,7 @@ func RegisterRoutes(m *macaron.Macaron) {
})
m.Group("/repos", func() {
m.Get("", org.GetTeamRepos)
m.Combo(":orgname/:reponame").
m.Combo("/:orgname/:reponame").
Put(org.AddTeamRepository).
Delete(org.RemoveTeamRepository)
})