diff options
Diffstat (limited to 'routes/repo/pull.go')
-rw-r--r-- | routes/repo/pull.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/repo/pull.go b/routes/repo/pull.go index c6652c7f..71199ee2 100644 --- a/routes/repo/pull.go +++ b/routes/repo/pull.go @@ -275,7 +275,7 @@ func ViewPullCommits(c *context.Context) { if c.Written() { return } else if prInfo == nil { - c.Handle(404, "ViewPullCommits", nil) + c.NotFound() return } commits = prInfo.Commits |