diff options
Diffstat (limited to 'routers/api/v1/api.go')
-rw-r--r-- | routers/api/v1/api.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/v1/api.go b/routers/api/v1/api.go index 0152eec29a..04b392fc9b 100644 --- a/routers/api/v1/api.go +++ b/routers/api/v1/api.go @@ -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). |