summaryrefslogtreecommitdiffstats
path: root/web.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-13 01:01:28 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-13 01:01:28 -0400
commit8c960917279d80c6137f7ccd9cc3cf9ed5fee098 (patch)
treeda0dddec61295e6c8e4f972ab942db9b7399f0dd /web.go
parent6a75b1f7b37dead013f271936c274ac9506d7d41 (diff)
parentfecafdca2ac5884a4dbcef2b937dfc3d2bf27ef2 (diff)
downloadgitea-8c960917279d80c6137f7ccd9cc3cf9ed5fee098.tar.gz
gitea-8c960917279d80c6137f7ccd9cc3cf9ed5fee098.zip
Merge branch 'master' of github.com:gogits/gogs
Diffstat (limited to 'web.go')
-rw-r--r--web.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/web.go b/web.go
index 1f34891bc4..775735adc6 100644
--- a/web.go
+++ b/web.go
@@ -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)