aboutsummaryrefslogtreecommitdiffstats
path: root/msb2pilot2/controllers/default.go
diff options
context:
space:
mode:
Diffstat (limited to 'msb2pilot2/controllers/default.go')
-rw-r--r--msb2pilot2/controllers/default.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/msb2pilot2/controllers/default.go b/msb2pilot2/controllers/default.go
new file mode 100644
index 0000000..9a9e6f2
--- /dev/null
+++ b/msb2pilot2/controllers/default.go
@@ -0,0 +1,15 @@
+package controllers
+
+import (
+ "github.com/astaxie/beego"
+)
+
+type MainController struct {
+ beego.Controller
+}
+
+func (c *MainController) Get() {
+ c.Data["Website"] = "beego.me"
+ c.Data["Email"] = "astaxie@gmail.com"
+ c.TplName = "index.tpl"
+}