1
0
Fork 0
forked from forgejo/forgejo

Corrections following recommendations

This commit is contained in:
Antoine GIRARD 2016-01-28 20:49:05 +01:00
parent 81e5722bcc
commit b7b30cd85e
5 changed files with 39 additions and 37 deletions

View file

@ -185,7 +185,7 @@ func RegisterRoutes(m *macaron.Macaron) {
m.Get("/archive/*", repo.GetArchive)
m.Group("/branches", func() {
m.Get("",repo.ListBranches)
m.Get("/:id",repo.GetBranch)
m.Get("/:branchname",repo.GetBranch)
})
m.Group("/keys", func() {
m.Combo("").Get(repo.ListDeployKeys).