summaryrefslogtreecommitdiffstats
path: root/web.go
diff options
context:
space:
mode:
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)