]> source.dussan.org Git - gitea.git/commitdiff
fix
authorslene <vslene@gmail.com>
Fri, 21 Mar 2014 13:31:47 +0000 (21:31 +0800)
committerslene <vslene@gmail.com>
Fri, 21 Mar 2014 13:31:47 +0000 (21:31 +0800)
modules/middleware/context.go

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