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)