diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-24 11:58:58 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-24 11:58:58 -0400 |
commit | d2ceb001d0373b0ab3aab76a53497afb6b56650a (patch) | |
tree | c6ab391c1fbe64072b6b977a5fcf4f5dc1117484 /web.go | |
parent | 6337d3bf193491aeb9f6a03b260e7c7089c59f76 (diff) | |
parent | ff362484191d08db2e2bda238934b780139b9048 (diff) | |
download | gitea-d2ceb001d0373b0ab3aab76a53497afb6b56650a.tar.gz gitea-d2ceb001d0373b0ab3aab76a53497afb6b56650a.zip |
Merge branch 'master' of github.com:gogits/gogs
Diffstat (limited to 'web.go')
-rw-r--r-- | web.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -152,6 +152,7 @@ func runWeb(*cli.Context) { r.Get("/branches", repo.Branches) r.Get("/src/:branchname", repo.Single) r.Get("/src/:branchname/**", repo.Single) + r.Get("/raw/:branchname/**", repo.SingleDownload) r.Get("/commits/:branchname", repo.Commits) r.Get("/commits/:branchname", repo.Commits) }, ignSignIn, middleware.RepoAssignment(true)) @@ -162,6 +163,7 @@ func runWeb(*cli.Context) { m.Group("/:username", func(r martini.Router) { r.Get("/:reponame", middleware.RepoAssignment(true), repo.Single) + r.Get("/:reponame", middleware.RepoAssignment(true), repo.Single) r.Any("/:reponame/**", repo.Http) }, ignSignIn) |