aboutsummaryrefslogtreecommitdiff
path: root/routers/repo/branch.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-03-11 11:56:52 -0500
committerUnknwon <u@gogs.io>2016-03-11 11:56:52 -0500
commit514382e2ebfe6869268aeb919c1fa4d224687e13 (patch)
tree1aa8c4b3b1e771a5dc6f0bdd74567961570efcaa /routers/repo/branch.go
parentcb1eadc2768ea5ffb2967eb4262e96730c3f9ba5 (diff)
Rename module: middleware -> context
Diffstat (limited to 'routers/repo/branch.go')
-rw-r--r--routers/repo/branch.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/repo/branch.go b/routers/repo/branch.go
index c340b2bf..00f30b0f 100644
--- a/routers/repo/branch.go
+++ b/routers/repo/branch.go
@@ -6,14 +6,14 @@ package repo
import (
"github.com/gogits/gogs/modules/base"
- "github.com/gogits/gogs/modules/middleware"
+ "github.com/gogits/gogs/modules/context"
)
const (
BRANCH base.TplName = "repo/branch"
)
-func Branches(ctx *middleware.Context) {
+func Branches(ctx *context.Context) {
ctx.Data["Title"] = "Branches"
ctx.Data["IsRepoToolbarBranches"] = true