diff options
author | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-17 17:14:31 +0800 |
---|---|---|
committer | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-17 17:14:31 +0800 |
commit | 3a3ac1f0f32d44330d513cfea9ca3560bc41671e (patch) | |
tree | ac2fde773dbe1fdd96ab801a93402295756ae987 /web.go | |
parent | 24d91ecda8c819a33f326ff724559456bcae6d71 (diff) | |
download | gitea-3a3ac1f0f32d44330d513cfea9ca3560bc41671e.tar.gz gitea-3a3ac1f0f32d44330d513cfea9ca3560bc41671e.zip |
repo branch page ui
Diffstat (limited to 'web.go')
-rw-r--r-- | web.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -77,6 +77,7 @@ func runWeb(*cli.Context) { m.Get("/:username/:reponame/commits", middleware.SignInRequire(false), middleware.RepoAssignment(true), repo.Commits) m.Get("/:username/:reponame/issues", middleware.SignInRequire(false), middleware.RepoAssignment(true), repo.Issues) m.Get("/:username/:reponame/pulls", middleware.SignInRequire(false), middleware.RepoAssignment(true), repo.Pulls) + m.Get("/:username/:reponame/branches", middleware.SignInRequire(false), middleware.RepoAssignment(true), repo.Branches) m.Get("/:username/:reponame/tree/:branchname/**", middleware.SignInRequire(false), middleware.RepoAssignment(true), repo.Single) m.Get("/:username/:reponame/tree/:branchname", |