diff options
author | skyblue <ssx205@gmail.com> | 2014-03-25 18:35:15 +0800 |
---|---|---|
committer | skyblue <ssx205@gmail.com> | 2014-03-25 18:35:15 +0800 |
commit | f0352789cd1e5c3ee35ed685e29421f0bc02f336 (patch) | |
tree | e3c0454dcba62f689221d5a97efcef342c06ffd2 /routers/install.go | |
parent | 7048ea45279cd96f88845d83fe7cef6fbb545fcf (diff) | |
parent | 4e88ae19d1e2e91e4d3168304c06fcbce73c31bf (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") +} |