forked from forgejo/forgejo
Corrections following recommendations
This commit is contained in:
parent
81e5722bcc
commit
b7b30cd85e
5 changed files with 39 additions and 37 deletions
|
@ -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).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue