diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-13 02:09:55 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-13 02:09:55 -0400 |
commit | 18ba14913746c6c436c4632bdc9174ecfcd59dda (patch) | |
tree | 64868aa90dbc3cdc8c093c44ee067c4783d59fec /web.go | |
parent | ea765d25e21a5e2ff67ff39891962f5f23facda8 (diff) | |
parent | a8d8e7256249cb280b39d114dd6d6eadd4fec187 (diff) |
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
@@ -71,6 +71,8 @@ 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/settings", auth.SignInRequire(false), auth.RepoAssignment(true), repo.Setting) m.Get("/:username/:reponame", auth.SignInRequire(false), auth.RepoAssignment(true), repo.Single) //m.Get("/:username/:reponame", repo.Repo) |