mirror of
https://gitee.com/gitea/gitea
synced 2025-11-02 23:50:26 +08: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