diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2019-07-17 09:04:37 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-17 09:04:37 +0800 |
commit | ce087c58efc16e36ba5786c3396c44e123461b37 (patch) | |
tree | c293572f83bce0468c68bae613aa2a1bb0f76a58 /routers | |
parent | 2771619acfd8a690c610363b12dd5b8e12f62e12 (diff) | |
download | gitea-ce087c58efc16e36ba5786c3396c44e123461b37.tar.gz gitea-ce087c58efc16e36ba5786c3396c44e123461b37.zip |
Remove settting dependency on modules/session (#7237)
* remove settting dependency on modules/session
* fix fmt
* fix tests
* fix lint
Diffstat (limited to 'routers')
-rw-r--r-- | routers/routes/routes.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/routers/routes/routes.go b/routers/routes/routes.go index 196420dfe4..6169aa563c 100644 --- a/routers/routes/routes.go +++ b/routers/routes/routes.go @@ -35,6 +35,9 @@ import ( "code.gitea.io/gitea/routers/user" userSetting "code.gitea.io/gitea/routers/user/setting" + // to registers all internal adapters + _ "code.gitea.io/gitea/modules/session" + "github.com/go-macaron/binding" "github.com/go-macaron/cache" "github.com/go-macaron/captcha" |