install sample page
This commit is contained in:
parent
6ef3e8b3c9
commit
7f6126dd04
5 changed files with 95 additions and 2 deletions
13
routers/install.go
Normal file
13
routers/install.go
Normal 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")
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue