aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/web.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/cmd/web.go b/cmd/web.go
index 57f3bcd6..8274c4d2 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -616,9 +616,7 @@ func runWeb(ctx *cli.Context) error {
}, ignSignIn, context.RepoAssignment(), context.RepoRef())
m.Group("/:username", func() {
- m.Group("", func() {
- m.Get("/:reponame", repo.Home)
- }, ignSignIn, context.RepoAssignment(true), context.RepoRef())
+ m.Get("/:reponame", ignSignIn, context.RepoAssignment(true), context.RepoRef(), repo.Home)
m.Group("/:reponame", func() {
m.Head("/tasks/trigger", repo.TriggerTask)