This commit is contained in:
slene 2014-03-21 21:31:47 +08:00
parent 77b612b5ea
commit 770c78a177

View file

@ -16,6 +16,7 @@ import (
"github.com/gogits/gogs/models" "github.com/gogits/gogs/models"
"github.com/gogits/gogs/modules/auth" "github.com/gogits/gogs/modules/auth"
"github.com/gogits/gogs/modules/base"
"github.com/gogits/gogs/modules/log" "github.com/gogits/gogs/modules/log"
) )
@ -100,6 +101,7 @@ func InitContext() martini.Handler {
Req: r, Req: r,
Res: res, Res: res,
Session: session, Session: session,
Cache: base.Cache,
Render: rd, Render: rd,
} }