diff options
author | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-25 16:51:42 +0800 |
---|---|---|
committer | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-25 16:51:42 +0800 |
commit | 7f6126dd04142c23fe5565a4c1f8cd8c93158460 (patch) | |
tree | 815788fa681f2811ae222c05a739c21fb60c65ba /routers/install.go | |
parent | 6ef3e8b3c9a085e3d99b02ba7bb80fc8126f2f90 (diff) | |
download | gitea-7f6126dd04142c23fe5565a4c1f8cd8c93158460.tar.gz gitea-7f6126dd04142c23fe5565a4c1f8cd8c93158460.zip |
install sample page
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 0000000000..d7d5159efc --- /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") +} |