Merge branch 'master' of github.com:gogits/gogs

This commit is contained in:
Unknown 2014-03-13 01:01:28 -04:00
commit 8c96091727
8 changed files with 234 additions and 27 deletions

1
web.go
View file

@ -74,6 +74,7 @@ func runWeb(*cli.Context) {
m.Any("/repo/create", auth.SignInRequire(true), binding.BindIgnErr(auth.CreateRepoForm{}), repo.Create)
m.Any("/repo/delete", auth.SignInRequire(true), repo.Delete)
m.Any("/repo/list", auth.SignInRequire(false), repo.List)
m.Get("/:username/:reponame", auth.SignInRequire(false), repo.Single)
m.Get("/:username/:reponame", repo.Repo)