diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2014-03-25 18:31:27 +0800 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2014-03-25 18:31:27 +0800 |
commit | 4e88ae19d1e2e91e4d3168304c06fcbce73c31bf (patch) | |
tree | a4c2f6b7215ae8c0926e9bfdb29e64c3daaf4739 /routers/install.go | |
parent | bb71a1bc1da52ce3985dfcb80852df5a9ca053d5 (diff) | |
parent | 6e33e54e71cdb6a100b9048bd6d9567fea2e7c91 (diff) |
Merge branch 'master' of github.com:gogits/gogs
Diffstat (limited to 'routers/install.go')
-rw-r--r-- | routers/install.go | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/routers/install.go b/routers/install.go new file mode 100644 index 00000000..d7d5159e --- /dev/null +++ b/routers/install.go @@ -0,0 +1,13 @@ +// Copyright 2014 The Gogs Authors. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. + +package routers + +import "github.com/gogits/gogs/modules/middleware" + +func Install(ctx *middleware.Context){ + ctx.Data["PageIsInstall"] = true + ctx.Data["Title"] = "Install" + ctx.HTML(200,"install") +} |