diff options
author | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-13 12:15:58 +0800 |
---|---|---|
committer | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-13 12:15:58 +0800 |
commit | 4fff38856e784cb1c2c8115a7c7e013f42f7d8d8 (patch) | |
tree | 7d3984ca36ff3c255feb1a1483126c9fb29e0852 /web.go | |
parent | 3c67318d8fcc6f61d766496a092c4be688fe8e75 (diff) | |
download | gitea-4fff38856e784cb1c2c8115a7c7e013f42f7d8d8.tar.gz gitea-4fff38856e784cb1c2c8115a7c7e013f42f7d8d8.zip |
single repository page ui preview
Diffstat (limited to 'web.go')
-rw-r--r-- | web.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -73,6 +73,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) listenAddr := fmt.Sprintf("%s:%s", base.Cfg.MustValue("server", "HTTP_ADDR"), |