index
:
gogs.git
Gogs is a painless self-hosted Git service
log msg
author
committer
range
buildscript
main
mygogs
about
summary
refs
log
tree
commit
diff
path:
root
/
routes
/
repo
/
pull.go
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
author
Unknwon <u@gogs.io>
2017-11-18 00:38:46 -0500
committer
Unknwon <u@gogs.io>
2017-11-18 00:38:46 -0500
commit
0f14b92bce885a2622a1cdbaa2500ce898995cbf
(
patch
)
tree
cefa9d59834b750ba0f92dc83e95d11f2bdcc3ca
/
routes/repo/pull.go
parent
43d6ad5fda4eb978aeec54b49c5b33a096bb31f4
(
diff
)
MISC: minor fixes in webhook
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