mirror of
https://github.com/go-gitea/gitea
synced 2025-07-15 23:17:19 +00:00
Corrections following recommendations
This commit is contained in:
@@ -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).
|
||||
|
Reference in New Issue
Block a user