diff options
author | 无闻 <u@gogs.io> | 2015-02-06 21:03:31 -0500 |
---|---|---|
committer | 无闻 <u@gogs.io> | 2015-02-06 21:03:31 -0500 |
commit | 87b90372a7a30fb9431e03d84d766c92447ff297 (patch) | |
tree | 5d26acd34f635be7560dc76316a75e240acfd575 /routers/home.go | |
parent | 5a99e9a37b1fa194675655e64d5f32ac6cf61729 (diff) | |
parent | 92036a78d1b00dddd3ab46a7025024cb29e91996 (diff) | |
download | gitea-87b90372a7a30fb9431e03d84d766c92447ff297.tar.gz gitea-87b90372a7a30fb9431e03d84d766c92447ff297.zip |
Merge pull request #908 from nicolai86/feature/hide-signup-button-884
Make Signup button display configurable - #884
Diffstat (limited to 'routers/home.go')
-rw-r--r-- | routers/home.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/home.go b/routers/home.go index dd604ec7e3..24fc77e12a 100644 --- a/routers/home.go +++ b/routers/home.go @@ -41,6 +41,7 @@ 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) |