diff options
author | Unknwon <u@gogs.io> | 2017-03-10 16:58:41 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2017-03-10 16:58:41 -0500 |
commit | 8fa6d0d302f487552800ca0d8d60da19b8f99387 (patch) | |
tree | 69abff9584dd42d2970a89e4abdb19b9a009107c /cmd | |
parent | a534f9f9b66c63aa08ba61587c3d19a9e952a491 (diff) |
repo/pull: handle head repository of merged pull requests deleted
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/web.go | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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) |