forked from zzdboy/GoCMS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.go
25 lines (20 loc) · 821 Bytes
/
plugin.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
// +----------------------------------------------------------------------
// | 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 Plugin struct {
*revel.Controller
}
func (c Plugin) Index() revel.Result {
title := "设置--GoCMS管理系统"
c.Render(title)
return c.RenderTemplate("Plugin/Index.html")
}