From 8fa6d0d302f487552800ca0d8d60da19b8f99387 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Fri, 10 Mar 2017 16:58:41 -0500 Subject: repo/pull: handle head repository of merged pull requests deleted --- cmd/web.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'cmd') 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) -- cgit v1.2.3