diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-25 06:54:22 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-25 06:54:22 -0400 |
commit | e95be2cb3e1e320ecd86f0743acaeeb76f50e3e5 (patch) | |
tree | 746b1ab1ab5626fb20ddd04121c29a951a6f84b3 /routers/install.go | |
parent | eeb793524f2da4afdca017b585d9cfb6e9628e85 (diff) | |
parent | 94ac5ebb9f100c77da02b56961119a25cd9e6d20 (diff) |
Merge branch 'master' of github.com:gogits/gogs
Conflicts:
conf/app.ini
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") +} |