1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 10:18:38 +00:00

code fix for #908, and work for #884

This commit is contained in:
Unknwon
2015-02-06 21:16:23 -05:00
parent 87b90372a7
commit 216683004e
4 changed files with 5 additions and 2 deletions

View File

@@ -41,7 +41,6 @@ func Home(ctx *middleware.Context) {
ctx.Data["OauthEnabled"] = true
ctx.Data["OauthService"] = setting.OauthService
}
ctx.Data["ShowRegistrationButton"] = setting.Service.ShowRegistrationButton
ctx.Data["PageIsHome"] = true
ctx.HTML(200, HOME)