summaryrefslogtreecommitdiffstats
path: root/web.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2014-03-17 23:04:49 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2014-03-17 23:04:49 +0800
commit45a6444b1ead3ebedcf79204cabe44df672f59d5 (patch)
tree3aa7e4d1c274d895588f29106282f09b3e862c8c /web.go
parentbe8baea7ad269eb633a6b5a569b904982021723d (diff)
downloadgitea-45a6444b1ead3ebedcf79204cabe44df672f59d5.tar.gz
gitea-45a6444b1ead3ebedcf79204cabe44df672f59d5.zip
add commits
Diffstat (limited to 'web.go')
-rw-r--r--web.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/web.go b/web.go
index b1399953b1..2177d5662f 100644
--- a/web.go
+++ b/web.go
@@ -74,7 +74,7 @@ func runWeb(*cli.Context) {
m.Post("/:username/:reponame/settings", middleware.SignInRequire(true), middleware.RepoAssignment(true), repo.SettingPost)
m.Get("/:username/:reponame/settings", middleware.SignInRequire(true), middleware.RepoAssignment(true), repo.Setting)
- m.Get("/:username/:reponame/commits", middleware.SignInRequire(false), middleware.RepoAssignment(true), repo.Commits)
+ m.Get("/:username/:reponame/commits/:branchname", 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)