mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-24 03:39:34 +08:00
Merge pull request #1903 from camlafit/patch-1
A missing / to provide a correct endpoint
This commit is contained in:
commit
4bc7240eee
|
@ -487,7 +487,7 @@ func RegisterRoutes(m *macaron.Macaron) {
|
||||||
})
|
})
|
||||||
m.Group("/repos", func() {
|
m.Group("/repos", func() {
|
||||||
m.Get("", org.GetTeamRepos)
|
m.Get("", org.GetTeamRepos)
|
||||||
m.Combo(":orgname/:reponame").
|
m.Combo("/:orgname/:reponame").
|
||||||
Put(org.AddTeamRepository).
|
Put(org.AddTeamRepository).
|
||||||
Delete(org.RemoveTeamRepository)
|
Delete(org.RemoveTeamRepository)
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user