summaryrefslogtreecommitdiffstats
path: root/web.go
diff options
context:
space:
mode:
authorFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-17 17:14:31 +0800
committerFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-17 17:14:31 +0800
commit3a3ac1f0f32d44330d513cfea9ca3560bc41671e (patch)
treeac2fde773dbe1fdd96ab801a93402295756ae987 /web.go
parent24d91ecda8c819a33f326ff724559456bcae6d71 (diff)
downloadgitea-3a3ac1f0f32d44330d513cfea9ca3560bc41671e.tar.gz
gitea-3a3ac1f0f32d44330d513cfea9ca3560bc41671e.zip
repo branch page ui
Diffstat (limited to 'web.go')
-rw-r--r--web.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/web.go b/web.go
index 86ea8a5bc0..b1399953b1 100644
--- a/web.go
+++ b/web.go
@@ -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",