diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2014-03-17 23:04:49 +0800 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2014-03-17 23:04:49 +0800 |
commit | 45a6444b1ead3ebedcf79204cabe44df672f59d5 (patch) | |
tree | 3aa7e4d1c274d895588f29106282f09b3e862c8c /web.go | |
parent | be8baea7ad269eb633a6b5a569b904982021723d (diff) | |
download | gitea-45a6444b1ead3ebedcf79204cabe44df672f59d5.tar.gz gitea-45a6444b1ead3ebedcf79204cabe44df672f59d5.zip |
add commits
Diffstat (limited to 'web.go')
-rw-r--r-- | web.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |