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
/
routers
/
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
Diffstat
(limited to 'routers/repo/pull.go')
-rw-r--r--
routers/repo/pull.go
4
1 files changed, 1 insertions, 3 deletions
diff --git a/routers/repo/pull.go b/routers/repo/pull.go
index db208f9f..d379a54e 100644
--- a/
routers/repo/pull.go
+++ b/
routers/repo/pull.go
@@ -5,8 +5,6 @@
package repo
import (
- "github.com/go-martini/martini"
-
"github.com/gogits/gogs/modules/base"
"github.com/gogits/gogs/modules/middleware"
)
@@ -15,7 +13,7 @@ const (
PULLS base.TplName = "repo/pulls"
)
-func Pulls(ctx *middleware.Context, params martini.Params) {
+func Pulls(ctx *middleware.Context) {
ctx.Data["IsRepoToolbarPulls"] = true
ctx.HTML(200, PULLS)
}