-
Notifications
You must be signed in to change notification settings - Fork 163
/
setting.go
26 lines (20 loc) · 825 Bytes
/
setting.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// +----------------------------------------------------------------------
// | GoCMS 0.1
// +----------------------------------------------------------------------
// | Copyright (c) 2013-2014 http://www.6574.com.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: zzdboy <zzdboy1616@163.com>
// +----------------------------------------------------------------------
package controllers
//设置首页
import "github.com/revel/revel"
type Setting struct {
*revel.Controller
}
func (c Setting) Index() revel.Result {
title := "设置--GoCMS管理系统"
c.Render(title)
return c.RenderTemplate("Setting/Index.html")
}