install sample page

This commit is contained in:
FuXiaoHei 2014-03-25 16:51:42 +08:00
parent 6ef3e8b3c9
commit 7f6126dd04
5 changed files with 95 additions and 2 deletions

13
routers/install.go Normal file
View file

@ -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")
}